Time Limit: 1 Seconds
Memory Limit: 256MB
No. of ACs: 7
Your best score: 0
Source: IOI 2017
Editorial: 1

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