A large company decided to install a new operating system on all of their computers. The moment the installation finished on the last computer, every other computer froze and could no longer be controlled remotely. The administrator now has to walk to each computer in person, restart it, and finally return to the computer where the round started.
Help the administrator by finding the length of the shortest closed tour that starts at one computer, visits every computer exactly once, and returns to the starting computer.
Each computer has a position given by two coordinates x and y in the plane. The distance between two computers at (x1,y1) and (x2,y2) is the Euclidean distance
(x1−x2)2+(y1−y2)2.
The first line contains one integer N (1≤N≤12), the number of computers. Each of the next N lines contains two integers xi and yi (0≤xi,yi≤1000000), the coordinates of the i-th computer. All computers are at distinct locations.
Print a single line with the minimum possible total length of such a closed tour, rounded to exactly two decimal places.