CodeForces 228 div2 problems A, B and C AC.