Codeforces Round 273 - have to solve B and C