If the amount of heat given to a system is 35J and the amount of work done on the system is 15J, then the change in internal energy of the system is