A slot is a narrow notch or groove, such as one that holds a coin…