Two solids P and Q float in water. It is observed that P floats with half of its volume immersed and Q floats with 2/3rd of its volume is immersed. The ratio of densities of P and Q is.