Air of room temperature was in a cylinder and sealed (cylinder is closed). Then, compression of 800kJ work was applied on the cylinder. The temperature of the air inside the cylinder increased by the compression. After leaving for a while, heat was released from the cylinder and the temperature of the air inside the cylinder returned to the room temperature. Determine the amount of heat released from the cylinder to outside. (during the whole process).