Codeforces 401C: Pretest Passed -> Accepted