A certain species of ionized atoms produces an emission line spectrum according to the Bohr model, but the number of protons Z in the nucleus is unknown. A group of lines in the spectrum forms a series in which the shortest wavelength is 22.79 nm and the longest wavelength is 41.02 nm. Find the next-to-the-longest wavelength in the series of lines.