Time Limit: 5.5 Seconds
Memory Limit: 800MB
No. of ACs: 3
Your best score: 0
Source: IOI 2018

Subtask Score
1 4
2 15
3 17
4 24
5 40
6 0