Time Limit: 1.5 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: Codeforces 527C (modified)

Subtask Score
1 10
2 25
3 65
4 0