The number on the board

Problem Name:
The number on the board
Site:CodeForces
Links:
Tags:
Problem setters: