Time Limit: 2 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: IOI 2021

Subtask Score
1 9
2 11
3 17
4 30
5 33
6 0