Codeforces 402C: Pretest Passed -> Accepted