Time Limit: 2 Seconds
Memory Limit: 512MB
No. of ACs: 2
Your best score: 0
Source: BOI 2020

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