Two simple harmonic oscillators with amplitudes in the ratio 1:2 are having the same total energy. The ratio of their frequencies is