A sample of an ideal gas is taken through a cycle a shown in figure. It absorbs 60J of energy during the process AB, no heat during BC, rejects 70J during CA. 40J of work is done on the gas during BC. Internal energy of gas at A is 1500J, the internal energy at C would be