Time Limit: 5 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: Educational Round 5 (cstuart)

Subtask Score
1 6
2 11
3 18
4 16
5 27
6 22
7 0