Welcome to Codeforces Beta Round #72.
The authors of the round are: Kholkin Pavel, Nikolay Kuznetsov and Kaluzhin Alexander. This round is for both divisions. You will get different problems and we hope that every participant solve as much problems as he can.
Thanks to Rakhov Artyom and Pavel Kuznetsov for their help, Mary Belova for translating problems and Mike Mirzayanov for the perfect system.
The main hero of the problems is Valera. Today you should help him in everything. =)
Good luck and high rating for everyone =)
Upd: the contest is over, congratulations to winners:
in div1 -
in div2 -