CodeForces 223 problems A and B AC.