Time Limit: 0.5 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: ABC 428C

Subtask Score
1 10
2 30
3 60
4 0