Join the queue

Prior to entering a customer into the queue, you should check the length of the queue and consider your stores' closing time.