Railways to buy 55 locomotives from US