Time Limit: 0.1 Seconds
Memory Limit: 10MB
Your best score: 0
Source: CF 2044A (modified)

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