A system has internal energy equal to E1, 450 J of heat is taken out of it and 600 J of work is done on it. The final energy of the system will be -