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

Subtask Score
1 3
2 4
3 9
4 5
5 6
6 11
7 11
8 22
9 29
10 0