Descriptions:

Neko does Maths

CodeForces - 1152C