Add semaphores for get input