Two Carnot engines A and B operate in series such that engine A absorbs heat at T1 and rejects heat to a sink at temperature T. Engine B absorbs half of the heat rejected by Engine A and rejects heat to the sink at T3. When workdone in both the cases is equal, to value of T is :