The velocity of the transverse waves produced by an earthquake is 5.08 km/s, while that of the longitudinal waves is 8.3312 km/s. A seismograph records the arrival of the transverse waves 55.9 s after that of the longitudinal waves. How far away was the earthquake?