Riding the Gravy Train
Two friends are crossing a hundred meter railroad bridge when they suddenly hear a train whistle. Desperate, each friend starts running, one towards the train and one away from the train. The one that ran towards the train gets to safety just before the train passes, and so does the one that ran in the same direction as the train.
If the train is five times faster than each friend, then what is the train-to-friends distance when the train whistled (in meters)?