Problem: Many schoolchildren look for a job for the summer, and one day, when Gerald was still a schoolboy, he also decided to work in the summer. But as Gerald was quite an unusual schoolboy, he found quite unusual work. A certain Company agreed to pay him a certain sum of money if he draws them three identical circles on a plane. The circles must not interfere with each other (but they may touch each other). He can choose the centers of the circles only from the n options granted by the Company. He is free to choose the radius of the circles himself (all three radiuses must be equal), but please note that the larger the radius is, the more he gets paid. 

Help Gerald earn as much as possible.

Input

The first line contains a single integer n — the number of centers (3 ≤ n ≤ 3000). The following n lines each contain two integers xi, yi ( - 104 ≤ xi, yi ≤ 104) — the coordinates of potential circle centers, provided by the Company.

All given points are distinct.

Output

Print a single real number — maximum possible radius of circles. The answer will be accepted if its relative or absolute error doesn't exceed 10 - 6.

Examples

Input

3
0 1
1 0
1 1


Output

0.50000000000000000000


Input

7
2 -3
-2 -3
3 0
-3 -1
1 -2
2 -2
-1 0


Output

1.58113883008418980000

Solution (in JAVA):

Solution:
// practice with rainboy
import java.io.*;
import java.util.*;

public class CF333E extends PrintWriter {
	CF333E() { super(System.out, true); }
	Scanner sc = new Scanner(System.in);
	public static void main(String[] $) {
		CF333E o = new CF333E(); o.main(); o.flush();
	}

	int[] xx, yy, qq; int[][] dd, aa; int n;
	int sign(int i, int j) {
		int x = xx[j] - xx[i], y = yy[j] - yy[i];
		return y < 0 || y == 0 && x < 0 ? -1 : 1;
	}
	int cross2(int x1, int y1, int x2, int y2) {
		return x1 * y2 - x2 * y1;
	}
	int cross(int i, int j, int k) {
		return cross2(xx[j] - xx[i], yy[j] - yy[i], xx[k] - xx[i], yy[k] - yy[i]);
	}
	boolean check(int i, int d) {
		int cnt = 0;
		for (int h = 0; h < n - i - 1; h++) {
			int j = aa[i][h];
			if (dd[i][j] >= d)
				qq[cnt++] = j;
		}
		for (int h = 0, h_ = 0; h < cnt; h++) {
			if (h_ < h)
				h_ = h;
			int j = qq[h], k;
			while (h_ + 1 < h + cnt && cross(i, j, k = qq[(h_ + 1) % cnt]) <= 0) {
				h_++;
				if (dd[j][k] >= d)
					return true;
			}
		}
		return false;
	}
	boolean check(int d) {
		for (int i = 0; i < n; i++)
			if (check(i, d))
				return true;
		return false;
	}
	void main() {
		n = sc.nextInt();
		xx = new int[n];
		yy = new int[n];
		for (int i = 0; i < n; i++) {
			xx[i] = sc.nextInt();
			yy[i] = sc.nextInt();
		}
		dd = new int[n][n]; qq = new int[n - 1];
		for (int i = 0; i < n; i++)
			for (int j = i + 1; j < n; j++) {
				int x = xx[i] - xx[j], y = yy[i] - yy[j];
				dd[i][j] = dd[j][i] = x * x + y * y;
			}
		aa = new int[n][]; Integer[] jj = new Integer[n - 1];
		for (int i = 0; i < n; i++) {
			int m = n - i - 1;
			aa[i] = new int[m];
			for (int h = 0; h < m; h++)
				jj[h] = i + 1 + h;
			int i_ = i;
			Arrays.sort(jj, 0, m, (j1, j2) -> {
				int s1 = sign(i_, j1), s2 = sign(i_, j2);
				return s1 != s2 ? s1 - s2 : cross(i_, j1, j2);
			});
			for (int h = 0; h < m; h++)
				aa[i][h] = jj[h];
		}
		int lower = 0, upper = 800000000;
		while (upper - lower > 1) {
			int d = (lower + upper) / 2;
			if (check(d))
				lower = d;
			else
				upper = d;
		}
		println(Math.sqrt(lower) / 2);
	}
}