Two waves of wavelength 50 cm and 51 cm produce 12 beat/s. The speed of sound is