Time Limit: 3 Seconds
Memory Limit: 256MB
Your best score: 0
Source: IZhO 2019

Subtask Score
1 8
2 9
3 13
4 17
5 30
6 23
7 0