A slot is a narrow opening, often in the shape of a rectangle or a…