Electron gain enthalpy increases with decrease in atomic size. On moving from left to right in the periodic table, the atomic size decreases and electron gain enthalpy increase for fluorine. In case of oxygen, due to its small size and compact nature, the incoming electron is not accommodated with ease resulting into low electron gain enthalpy than sulphur. So the correct order of electron gain enthalpy is F>S>O>N.