Time Limit: 2 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: APIO 2016

Subtask Score
1 9
2 22
3 27
4 42
5 0