Five moles of an ideal monatomic gas with an initial temperature of 127∘C expand and, in the process, absorb 1500 J of heat and do 2100 J of work. What is the final temperature of the gas?