Two vessels separately contain two ideal gases A and B at the same temperature, pressure of A being twice that of B . Under such conditions, the density of A is found to be 1.5 times the density of \(B\). The ratio of molecular weights of \(A\) and \(B\) is