Time Limit: 2 Seconds
Memory Limit: 256MB
Your best score: 0
Source: EGOI 2022 Day 2

Subtask Score
1 12
2 12
3 9
4 26
5 18
6 23