Codeforces 9C: Accepted