Find the quantum number \(n\) corresponding to the excited state of He \(+\) ion if on transition to the ground state that ion emits two photons in succession with wavelengths 108.5 and \(30.4 \mathrm{nm}\).