An electron collides with a hydrogen atom in its ground state and excites it to n = 3. The energy given to hydrogen atom in this inelastic collision is