Warning! The page was not fully loaded, probably because of a network issue. It could be that not all functionalities work as expected. Please try reloading the page.
which() + logical vectors (Extra)
Use the which() function to calculate the position of the first person that is not allowed to enter the elevator.