Competed Codeforces 268 DIV 1.