Time Limit: 2 Seconds
Memory Limit: 256MB
No. of ACs: 35
Your best score: 0
Source: Algorithm Class Mini-Contest 8

Subtask Score
1 24
2 28
3 48
4 0