A slot is a narrow opening or groove in which something can be inserted, such…