In ICPCCamp, there are n cities and m directed roads between cities.
The i-th road going from the

-th city to the

-th city is

kilometers long.
For each pair of cities (u, v), there can be more than one roads from u to v.
Bobo wants to make big news by solving the famous *Hamiltonian Path* problem.
That is, he would like to visit all the n cities one by one so that the total distance travelled is minimized.
Formally, Bobo likes to find n **distinct** integers

to minimize
%20%2B%20w(p_2%2C%20p_3)%20%2B%20%5Cdots%20%2B%20w(p_%7Bn%20-%201%7D%2C%20p_n))
where w(x, y) is the length of road from the x-th city to the y-th city.