Ionization Energy and Electron Affinity