Time Limit: 3 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: JOI

Subtask Score
1 2
2 20
3 21
4 57
5 0