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:
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.Random;

public class Codeforces194E {

	static void sort(long[] array) {
		int n = array.length;
		int[] cnt = new int[1 << 16];
		long[] temp = new long[n];
		for (int i = n - 1; i >= 0; --i) {
			++cnt[(int) (array[i] >> 32) & 0xFFFF];
		}
		for (int i = 0; i < 0xFFFF; ++i) {
			cnt[i + 1] += cnt[i];
		}
		for (int i = n - 1; i >= 0; --i) {
			temp[--cnt[(int) (array[i] >> 32) & 0xFFFF]] = array[i];
		}
		Arrays.fill(cnt, 0);

		for (int i = n - 1; i >= 0; --i) {
			++cnt[(int) (temp[i] >> 48)];
		}
		for (int i = 0; i < 0xFFFF; ++i) {
			cnt[i + 1] += cnt[i];
		}
		for (int i = n - 1; i >= 0; --i) {
			array[--cnt[(int) (temp[i] >> 48)]] = temp[i];
		}
	}

	static Random rng = new Random(58);

	static void solve() throws IOException {
		int n = nextInt();
		int[] x = new int[n];
		int[] y = new int[n];
		for (int i = 0; i < n; i++) {
			x[i] = nextInt();
			y[i] = nextInt();
		}
		int cnt = 0;
		long[] array = new long[n * (n - 1) / 2];
		for (int i = 0; i < n; i++) {
			for (int j = i + 1; j < n; j++) {
				long dist = (y[j] - y[i]) * (y[j] - y[i]) + (x[j] - x[i])
						* (x[j] - x[i]);
				array[cnt++] = (dist << 32) | (i << 16) | j;
			}
		}
		sort(array);
		long[][] bitset = new long[n][(n + 63) >> 6];
		for (int it = array.length - 1; it >= 0; --it) {
			int a = ((int) array[it] >> 16) & 0xFFFF;
			int b = (int) array[it] & 0xFFFF;
			long[] ba = bitset[a];
			long[] bb = bitset[b];
			for (int i = (n - 1) >> 6; i >= 0; --i) {
				if ((ba[i] & bb[i]) != 0) {
					out.println(Math.sqrt(array[it] >> 32) * 0.5);
					return;
				}
			}
			ba[b >> 6] |= 1L << b;
			bb[a >> 6] |= 1L << a;
		}
	}

	static BufferedReader br;
	static PrintWriter out;

	public static void main(String[] args) throws IOException {
		InputStream input = System.in;
		PrintStream output = System.out;
		br = new BufferedReader(new InputStreamReader(input));
		out = new PrintWriter(output);
		solve();
		out.close();
	}

	static int nextInt() throws IOException {
		int c = br.read();
		while ((c < '0' || c > '9') && c != '-')
			c = br.read();
		boolean negative = false;
		if (c == '-') {
			negative = true;
			c = br.read();
		}
		int m = 0;
		while (c >= '0' && c <= '9') {
			m = m * 10 + c - '0';
			c = br.read();
		}
		return negative ? -m : m;
	}
}