A slot is a narrow opening for receiving or admitting something, such as a coin…