The frequency of a sonometer wire is f, but when the weights producing the tensions are completely immersed in water the frequency becomes f/2 and on immersing the weights in a certain liquid the frequency becomes f/3. The specific gravity of the liquid is :