An ideal gas for which cv=3R/2 is the working substance of a carnot engine. During the isothermal expansion, the volume doubles. The ratio of the final volume to the initial volume in the adiabatic expansion is 5.7. The work output of the engine is 9*10^5 in each cycle. Compute the temperature of the reservoirs between which the engine operates.