Time Limit: 2 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: Timus 1439

Subtask Score
1 8
2 43
3 49
4 0