protons, neutrons and electrons in atoms determine the number of valence electrons determine the stability of the atom based on above​