Four other pairs of elements in the same chemical family are listed below. List the number of valence electrons in each element.

Beryllium


Nitrogen


Oxygen


Fluorine


Magnesium


Phosphorus


Sulfur


Chlorine