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

Subtask Score
1 17
2 20
3 15
4 21
5 27
6 0