Freight rates ($) per shipping route

Output

Destination port

1

2

3

4

Origin port

1

6703

6918

7009

9182

3

2

4716

5460

5031

7168

10

3

4966

5881

5481

6893

2

4

5958

6173

6354

8310

5

Input

10

2

3

5