Time Limit: 3 Seconds
Memory Limit: 256MB
Your best score: 0
Source: IOI 2011

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