Question: how do you know the number of protons neutrons and electrons in an element?
Answer: number of protons = atomic number.
number of electrons = atomic number.
number of neutrons = mass number - atomic number.