Codeforces Round #146 (Div. 1) A