Thermodynamics

A closed system receives 500 J of heat and does 200 J of work on its surroundings. What is its change in internal energy?