Hi all! :)
I (Untitled) invite you to participate in Codeforces Round #178 (Div. 2) which will be held today. I want to thank Gerald Delinur MikeMirzayanov for their help in preparation of this event. I also want to thank havaliza who tested the round and made the graphics for the problems.
The hero of today's contest is Shaass. Hope you enjoy helping him! :D
Good luck and have fun ;)
UPD. Editorial is partially out and will be completed soon! :{