Time Limit: 1 Seconds
Memory Limit: 256MB
Your best score: 0
Source: NOI 2017

Subtask Score
1 3
2 20
3 28
4 13
5 17
6 19
7 0