A cylindrical container is divided in two equal parts by a diathermic piston. Different ideal gases are filled in the two parts. Find the ratio of the mass of the molecules of the gas in the lower part to that of the upper part, if the root mean square velocity of molecules in the lower part is equal to the mean velocity of molecules in the upper part.