Time Limit: 2 Seconds
Memory Limit: 256MB
Your best score: 0
Source: IOI 2013

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