The ionization potential of N is less than O, but larger than M.

There is no element called M. There is also no question here.

Your statement about N's ionization potential being lower than O is also wrong.