The initial state of the hydrogen atom was n=1 and the final state was n=5. This is because the photon emitted had a wavelength of 95 nm, which corresponds to an energy difference of 0.55 eV between the initial and final states of the hydrogen atom. The only transition that satisfies this is from the first to the fifth energy level.