Time Limit: 0.5 Seconds
Memory Limit: 256MB
No. of ACs: 319
Your best score: 0
Source: NOI 2016

Subtask Score
1 20
2 30
3 50
4 0