Time Limit: 4 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: EGOI 2022 Day 1

Subtask Score
1 10
2 15
3 25
4 25
5 25
6 0