A cylinder piston device is being heated in on a hot plate. During the process 69kJ of heat is transferred to the water. As a result of the heating, the piston rises and 5 kj of work is done by the vapour. Calculate the change of energy in this process