Time Limit: 4 Seconds
Memory Limit: 512MB
Your best score: 0
Source: COI 2020

Subtask Score
1 6
2 15
3 12
4 12
5 15
6 40
7 0