Time Limit: 1 Seconds
Memory Limit: 512MB
No. of ACs: 20
Your best score: 0
Source: BOI 2017

Subtask Score
1 7
2 10
3 8
4 31
5 44
6 0