Codeforces 158C: Accepted