An ideal gas heat engine operates in Carnot cycle between 227°C and 127°C. It absorbs 6 x 10^4 cal of heat at higher temperature. Amount of heat converted to work is