Time Limit: 3 Seconds
Memory Limit: 512MB
No. of ACs: 3
Your best score: 0
Source: JOI

Subtask Score
1 4
2 30
3 66
4 0