Time Limit: 1 Seconds
Memory Limit: 512MB
Your best score: 0
Source: NOI 2016

Subtask Score
1 7
2 8
3 11
4 13
5 15
6 13
7 16
8 17
9 0