Atomic hydrogen is excited to the nth energy level.The maximum number of spectral lines which it can emit while returing to the ground state, is