100 mol/s of NH3 and 200 mol/s of O2 at 25°C are fed into a reactor in which ammonia is completely consumed. The product gas emerges at 300°C. Calculate the rate at which heat must be transferred to or from the reactor, assuming operation at 1 atm using the heat of formation method.