Elevator or Stairs?

Problem Name:
Elevator or Stairs?
Site:CodeForces
Links:
Tags:
Problem setters: