Time Limit: 2 Seconds
Memory Limit: 256MB
Your best score: 0
Source: CF 1684F

Subtask Score
1 10
2 20
3 30
4 40
5 0