Welcome, friends)
We are glad to introduce you regular Codeforces round #141 for Div.2 participants. But traditionally the others can take part out of the competition.
Problems are prepared by command of authors: Pavel Kholkin (HolkinPV), Ivan Fefer (Fefer_Ivan), Igor Kudryashov (Igor_Kudryashov) and Gerald Agapov (Gerald). Traditionally thanks to Michael Mirzayanov (MikeMirzayanov) for perfect Codeforces system and Mary Belova (Delinur) for translating problems.
Score distribution is standard.
We wish you good luck, successful hacks and high rating!
UPD: the contest is over, hope you enjoy it) Congratulations to winners:
1) AntiFate
2) alicechennan
4) Fride
5) bla_bla_bla
UPD2: the editorial was already published, you can find it here