Two moles of a certain gas at a temperature T0=300 K are cooled isochorically so that the pressure is reduced by a factor of 2. Then, in an isobaric process, the gas expands until its temperature returns to the initial value. Find the total heat absorbed by the gas in this process.