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

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