Codeforces rounds 110 and 112