All your base are belong to us

아직 제출이 없습니다시간 제한2초메모리 제한512 MB

문제

In A.D. 2101, war was beginning. The enemy has taken over all of our bases. To recapture the bases, we decided to set up a headquarters. We need to define the location of the headquarters so that all bases are not so far away from the headquarters. Therefore, we decided to choose the location to minimize the sum of the distances from the headquarters to the furthest KK bases. The bases are on the 2-D plane, and we can set up the headquarters in any place on this plane even if it is not on a grid point.

Your task is to determine the optimal headquarters location from the given base positions.

입력

The first line of the input contains two integers NN and KK. The integer NN is the number of the bases (1N2001 \le N \le 200). The integer KK gives how many bases are considered for calculation (1KN1 \le K \le N). Each of the following NN lines gives two integers xx and yy --- coordinates of each base. All of the absolute values of given coordinates are less than or equal to 1000, i.e., 1000x_i,y_i1000-1000 \le x\_i,y\_i \le 1000 is satisfied.

출력

Output the minimum sum of the distances from the headquarters to the furthest KK bases. The output can contain an absolute or a relative error no more than 10310^{-3}.