A heat engine does 210 J of work per cycle while exhausting 560 J of heat to the cold reservoir. What is the heat input (in Joules) to the engine during each cycle?
a) -350 J
b) 770 J
c) 770 J
d) -770 J