Heat Q flows spontaneously from a reservoir at 481 K into a reservoir at 298 K. Because of the spontaneous flow, 2760 J of energy is rendered unavailable for work when a Carnot engine operates between the reservoir at 298 K and a reservoir at 249 K. Find Q.