In a process, 500 calories of heat is given to a system and at the same time, 100 joules of work is done by the system. What is the increase in the internal energy of the system?
a) 400 calories
b) 500 calories
c) 600 calories
d) 700 calories