Time Limit: 2 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: RI-HCI Final Contest 2022
Editorial: 1

Subtask Score
1 0
2 4
3 7
4 10
5 12
6 16
7 23
8 28