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

Subtask Score
1 14
2 12
3 18
4 30
5 20
6 6