10 gm of solute A and 20 gm of solute B are both dissolved in 500 ml water. The solution has the same osmotic pressure as 6.67 gm of A and 30 gm of B dissolved in the same amount of water at the same temperature. What is the ratio of molar masses of A and B?