Walmart Interview Question

Elevator stops for input of button pressed