Time Limit: 3 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: Codeforces 1167E
Editorial: 1

Subtask Score
1 0
2 20
3 30
4 30
5 20