Time Limit: 1 Seconds
Memory Limit: 512MB
No. of ACs: 5
Your best score: 0
Source: APIO 2018
Editorial: 1 2

Subtask Score
1 5
2 11
3 8
4 10
5 13
6 15
7 20
8 8
9 10
10 0