CF 152A solved
Codeforces 152A