Time Limit: 2 Seconds
Memory Limit: 256MB
No. of ACs: 13
Your best score: 0
Source: IOI 2013

Subtask Score
1 12
2 13
3 21
4 30
5 24
6 0