A Carnot engine working between 27oC and 127oC takes up 800 J of heat from the reservoir in one cycle. What is the work done by the engine ?