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.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.BitSet;
import java.util.StringTokenizer;


public class TaskE implements Runnable {
	
	private class Info implements Comparable<Info> {
		
		public Info(int d, int i, int j) {
			this.d = d;
			this.i = i;
			this.j = j;
		}
		
		@Override
		public int compareTo(Info other) {
			return d - other.getD();
		}
		
		public int getD() {
			return d;
		}

		public void setD(int d) {
			this.d = d;
		}

		public int getI() {
			return i;
		}

		public void setI(int i) {
			this.i = i;
		}

		public int getJ() {
			return j;
		}

		public void setJ(int j) {
			this.j = j;
		}

		private int d;
		private int i;
		private int j;
	}
	
	private void solve() {
		dist = new Info[n*(n-1)/2];
		int cnt = 0;
		for (int i = 1; i < n; ++i) {
			for (int j = 0; j < i; ++j) {
				dist[cnt++] = new Info(getDist(i, j), i, j);
			}
		}
		Arrays.sort(dist);
		meet = new BitSet[n];
		for (int i = 0; i < n; ++i) {
			meet[i] = new BitSet(n);
		}
		for (int i = cnt-1; i >= 0; --i) {
			Info cur = dist[i];
			int i1 = cur.getI();
			int i2 = cur.getJ();
			if (meet[i1].intersects(meet[i2])) {
				out.printf("%.6f", Math.sqrt(cur.getD())/2.0);
				return;
			}
			meet[i1].set(i2);
			meet[i2].set(i1);
		}
	}
	
	private int getDist(int i, int j) {
		int cx = x[i] - x[j];
		int cy = y[i] - y[j];
		return cx*cx + cy*cy;
	}
	
	private BitSet[] meet;
	private Info[] dist;
	
	private void readData() {
		n = in.readInt();
		x = new int[n];
		y = new int[n];
		for (int i = 0; i < n; ++i) {
			x[i] = in.readInt();
			y[i] = in.readInt();
		}
	}
	
	private int n;
	private int[] x;
	private int[] y;
	
	private void begin() {
		in = new InputReader(System.in);
		out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
	}
	
	private void end() {
		out.flush();
	}
	
	private InputReader in;
	private PrintWriter out;
	
	
	@Override
	public void run() {
		begin();
		readData();
		solve();
		end();
	}

	public static void main(String[] args) {
		new TaskE().run();
	}
	
	private class InputReader {
		
	    public BufferedReader reader;
	    public StringTokenizer tokenizer;

	    public InputReader(InputStream stream) {
	        reader = new BufferedReader(new InputStreamReader(stream));
	        tokenizer = null;
	    }

	    public String next() {
	        while (tokenizer == null || !tokenizer.hasMoreTokens()) {
	            try {
	                tokenizer = new StringTokenizer(reader.readLine());
	            } catch (IOException e) {
	                throw new RuntimeException(e);
	            }
	        }
	        return tokenizer.nextToken();
	    }
	    
	    public int readInt() {
	    	return Integer.parseInt(next());
	    }
	    
	    public long readLong() {
	    	return Long.parseLong(next());
	    }
	    
	    public String nextString() {
	    	try {
				return reader.readLine();
			} 
	    	catch (IOException e) {
				return null;
			}
	    }
	    
	}

}