Codeforces 215C: Accepted