Time Limit: 1.5 Seconds
Memory Limit: 256MB
No. of ACs: 9
Your best score: 0
Source: RI/RJC NOI Selection Test 2016

Subtask Score
1 9
2 13
3 17
4 14
5 18
6 29
7 0