codeforces div2 round 197
A and C. B is not ok now.