A slot is a position in a group, series, or sequence, especially one occupied by…