Time Limit: 3 Seconds
Memory Limit: 1024MB
No. of ACs: 1
Your best score: 0
Source: BOI 2018

Subtask Score
1 13
2 20
3 22
4 19
5 26
6 0