The Fair Nut and Elevator

Problem Name:
The Fair Nut and Elevator
Site:CodeForces
Links:
Tags:
Problem setters: