Magnesium (Mg) has 12 protons, 12 neutrons and 12 electrons, what is the atomic number of magnesium?

The atomic number of Magnesium (Mg) is 12 (equal to the number of protons).