A sample of an ideal gas is taken through the process ABCA shown . It rejects 50 J of heat during part AB , does not absorb or reflect heat during BC and accepts 70 J of heat during CA . Forty joules of work is done on the gas during the part BC . The internal energies at B and C respectively will be $\;(u_{A} =1500\;J)$