Time Limit: 1 Seconds
Memory Limit: 256MB
Your best score: 0
Source: ABC

Subtask Score
1 0
2 30
3 40
4 30