Two vessels separately contain two ideal gases A and B at the same temperature, the pressure of B being twice that of A. under such conditions. The density of A is found to be one-third of the density of B. the ratio of molecular weight of A and B is