Time Limit: 2 Seconds
Memory Limit: 2048MB
Your best score: 0
Source: Codeforces 1899G

Subtask Score
1 10
2 30
3 60
4 0