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

Subtask Score
1 4
2 15
3 18
4 10
5 53
6 0