Time Limit: 2 Seconds
Memory Limit: 512MB
Your best score: 0
Source: Educational Round 6 (oolimry)
Editorial: 1

Subtask Score
1 5
2 15
3 25
4 20
5 35
6 0