CodeForces 225 problems A and B AC.