Time Limit: 0.67 Seconds
Memory Limit: 670MB
Your best score: 0
Source: ABC 403C (modified)

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