Time Limit: 2 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: IOI 2017
Editorial: 1 2

Subtask Score
1 5
2 10
3 11
4 11
5 12
6 51
7 0