Codeforces Round #169 (Div. 2) A, B, C