Time Limit: 1 Seconds
Memory Limit: 256MB
No. of ACs: 7
Your best score: 0
Source: EGOI 2022 Day 1

Subtask Score
1 5
2 17
3 7
4 9
5 20
6 9
7 10
8 23