Time Limit: 0.5 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: CF 1709B

Subtask Score
1 5
2 12
3 20
4 25
5 28
6 10
7 0