Time Limit: 1 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: ARC119C

Subtask Score
1 7
2 10
3 12
4 20
5 15
6 36
7 0