Time Limit: 0.5 Seconds
Memory Limit: 256MB
Your best score: 0
Source: RI NOI Selection Test 2015

Subtask Score
1 12
2 16
3 20
4 20
5 32
6 0