Chile and Argentina: The two countries share a long border in South America, and the distance between their capitals, Santiago and Buenos Aires, is approximately 4,995 km.
Canada and the United States: The two countries share a long border in North America, and the distance between their capitals, Ottawa and Washington, D.C., is approximately 4,995 km.
I hope this helps!