Jumping on Walls

Problem Name:
Jumping on Walls
Site:CodeForces
Links:
Tags:
Problem setters: