A slot is a thin opening or groove in something. A person can put letters…