Dinesh Goyal's submission of Elevator | CodeChef