Time Limit: 1 Seconds
Memory Limit: 256MB
Your best score: 0
Source: 2019 IOI Problem Setter Contest

Subtask Score
1 20
2 40
3 40
4 0