A 5,000 kg train is traveling at a velocity of 100 m/s and hits another train. The two trains stick together, and the new velocity is 50 m/s. What is the mass of the second train?