Makoto and a Blackboard

Problem Name:
Makoto and a Blackboard
Site:CodeForces
Links:
Tags:
Problem setters: