Congratulations, you solved it!
The problemset isn't perfect, but we always aim to make it better. To do that we
need your help. Please, fill this form and leave your proposals for algorithm
and difficulty tags for this problem. Thank you!
Thank you for your input!
You've already submitted your proposals.
There's been a server error during submitting
You have to specify at least one algorithm tag and exactly one difficulty tag!