Codeforces 443C: Accepted