A slot is a narrow opening, especially one for receiving something, such as coins or…