A Carnot heat engine operates between 1000K and 500K. The duration of each cycle is 2s. How much work it can perform if the engine absorbs 30kJ of heat during each cycle?