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

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