Two bar magnets oscillate in a horizontal plane in earth’s magnetic field with time periods of 3 s and 4 s respectively. If their moments of inertia are in the ratio of 3 : 2, then the ratio of their magnetic moments will be :