Time Limit: 3 Seconds
Memory Limit: 256MB
No. of ACs: 17
Your best score: 0
Source: IOI 2011

Subtask Score
1 9
2 12
3 22
4 57
5 0