During one cycle of a heat engine 2000 calories of heat is supplied and 1500 calories rejected. The amount of work done equals: