Two moles of a certain ideal gas at a temperature were cooled isochorically so that the gas pressure reduced times. Then, as a result of the isobaric process, the gas expanded till its temperature got back to the initial value. Find the total amount of heat absorbed by the gas in this process.