A slot is a thin opening, or groove, in which something may be inserted. For…