If a system loses 250 kJ of heat at the same time that it is doing 500 kJ of work on the surroundings, what is the change in the internal energy of the system?