Time Limit: 2 Seconds
Memory Limit: 256MB
Your best score: 0
Source: RSA Fun Contest (oolimry)
Editorial: 1

Subtask Score
1 0
2 7
3 10
4 12
5 27
6 44