Call the next person at the clinic
NoSuchElementException
ArrayDeque.removeFirstOrNull
SplQueue::isEmpty
deque.popleft and IndexError
length before extraction