Time Limit: 1 Seconds
Memory Limit: 512MB
Your best score: 0
Source: RI/RJC NOI Selection Test 2016

Subtask Score
1 8
2 13
3 11
4 12
5 22
6 34
7 0