Amazon interview question

Design an elevator control system.