Shaurya and Arjit take a straight route to the same terminal point and travel with constant speeds. At the initial moment, the positions of the two and the terminal point form an equilateral triangle. When Arjit covered a distance of 80 km, the triangle becomes right-angled. When Arjit was at a distance of 120 km from the terminal point, the Shaurya arrived at the point. Find the distance between them at the initial moment assuming that there are integral distances throughout the movements described.