The valency of carbon is 4 and that of oxygen is 2. What is the molecular formula of carbon dioxide?
The number of valence electrons in the atoms of carbon, nitrogen and oxygen respectively are __________.