Time Limit: 0.5 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: Classic Problem (penguin133)

Subtask Score
1 20
2 50
3 30
4 0