Given are N points (x_i, y_i) in a two-dimensional plane.

Find the minimum radius of a circle such that all the points are inside or on it.

Constraints

* 2 \leq N \leq 50
* 0 \leq x_i \leq 1000
* 0 \leq y_i \leq 1000
* The given N points are all different.
* The values in input are all integers.

Input

Input is given from Standard Input in the following format:


N
x_1 y_1
:
x_N y_N


Output

Print the minimum radius of a circle such that all the N points are inside or on it.

Your output will be considered correct if the absolute or relative error from our answer is at most 10^{-6}.

Examples

Input

2
0 0
1 0


Output

0.500000000000000000


Input

3
0 0
0 1
1 0


Output

0.707106781186497524


Input

10
10 9
5 9
2 0
0 0
2 7
3 3
2 5
10 0
3 7
1 9


Output

6.726812023536805158
import java.util.*;
import java.io.*;

// This file is a "Hello, world!" in Java language by OpenJDK for wandbox.

class Main
{
	public static void main(String[] args)
	{
		new Main().run();
	}
	
	void run(){
		Scanner sc=new Scanner(System.in);
		int N=sc.nextInt();
		double[] x=new double[N];
		double[] y=new double[N];
		for(int i=0;i<N;++i){
			x[i]=sc.nextDouble();
			y[i]=sc.nextDouble();
		}
		double eps=1e-7;
		double ans=9e5;
		for(int i=0;i<N;++i){
			for(int j=0;j<N;++j){
				double mx=(x[i]+x[j])*0.5;
				double my=(y[i]+y[j])*0.5;
				double l=Math.sqrt((x[i]-x[j])*(x[i]-x[j])+(y[i]-y[j])*(y[i]-y[j]));
				boolean flag=true;
				for(int k=0;k<N;++k){
					double dx=mx-x[k];
					double dy=my-y[k];
					flag&=eps>Math.sqrt(dx*dx+dy*dy)-l/2;
				}
				if(flag)ans=Math.min(ans,l/2);
			}
		}
		
		for(int i=0;i<N;++i){
			for(int j=i+1;j<N;++j){
				for(int k=j+1;k<N;++k){
					double[] pos=f(new double[]{x[i],x[j],x[k]},new double[]{y[i],y[j],y[k]});
					double mx=pos[0];
					double my=pos[1];
					double l=2*Math.sqrt((x[i]-mx)*(x[i]-mx)+(y[i]-my)*(y[i]-my));
					boolean flag=true;
					for(int m=0;m<N;++m){
						double dx=mx-x[m];
						double dy=my-y[m];
						flag&=eps+l/2>Math.sqrt(dx*dx+dy*dy);
					}
					if(flag)ans=Math.min(ans,l/2);
				}
			}
		}
		System.out.println(ans);
	}
	
	double[] f(double[] x,double[] y){
		double[] X=new double[3];
		for(int i=0;i<3;++i){
			X[i]=x[i]*x[i]+y[i]*y[i];
		}
		double[][] v={{X[0]-X[1]},{X[1]-X[2]}};
		double a=x[0]-x[1];
		double b=y[0]-y[1];
		double c=x[1]-x[2];
		double d=y[1]-y[2];
		double det=2*(a*d-c*b);
		if(det==0)return new double[]{0,0};
		return new double[]{1/det*(d*v[0][0]-b*v[1][0]),1/det*(-c*v[0][0]+a*v[1][0])};
	}
	
	
	void tr(Object...o){System.out.println(Arrays.deepToString(o));}
}
// OpenJDK reference:
//   http://openjdk.java.net/

// Java language references:
//   http://docs.oracle.com/javase
	