The energy required to increase the quantum level of an electron from a lower energy level to a higher one is the same as the energy released when the electron transitions from that same higher energy level to the same lower energy level. Thus, 8eV will be released.