A rigid and insulated tank of 3 m3 volume is divided into two components. One compartment of volume of 2 m3 contains an ideal gas at 0.8314 MPa and 400 K and while the second compartment of volume 1 m3 contains the same gas 8.314 MPa and 500 k. If the partition between the two compartments is ruptured, the final temperature of the gas is: