Codeforces 446B: Accepted