Descriptions:

Makoto and a Blackboard

CodeForces - 1097D