A sample of an ideal gas is taken through the cyclic process ABCA shown in figure. It rejects 50J of heat during the part AB, does not absorb or reject the heat during BC, and accepts 70J of heat during CA. 40 joules of work is done on the gas during the part BC. The internal energies at B and C, respectively, will be (Internal Energy at A=1500Joules)