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

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