Here the task is solved elevator