Question: how would you know the number of protons neutrons and electrons?
Answer: number of protons = atomic number.
number of electrons = atomic number.
number of neutrons = mass number - atomic number.