A gas contained in a cylinder is compressed, the work required for compression being 5000 kJ. During the process, heat interaction of 2000 kJ causes the surroundings to the heated. The change is internal energy of the gas during the process is
(a) – 7000 kJ (b) – 3000 kJ
(c) + 3000 kJ (d) + 7000 kJ