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