Comparison of protons and electrons in atoms