It's said that not all electrons in an atom have the same amount of energy. Is it the same for protons? Because if it's not then how come they have the same atomic number at the end?