The number of electrons in the valence shell of an element of atomic number 14…