Two trains approach each other at a railroad crossing. Train 1 travels 80 km/h and Train 2 travels 50 km/h. They both sound their horns before passing each other, emitting sound waves at 300 Hz. The speed of sound is 343 m/s. At what frequencies does a person waiting at the train tracks hear both train horns as they approach?