Time Limit: 4 Seconds
Memory Limit: 512MB
No. of ACs: 10
Your best score: 0
Source: NOI 2021 Qualification

Subtask Score
1 10
2 14
3 12
4 8
5 15
6 13
7 28
8 0