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