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 math
EPS = 10**-8


class P2():
    def __init__(self, x, y):
        self.x = x
        self.y = y
        self.norm2 = (self.x**2 + self.y**2)**0.5

    def __add__(self, other):
        return P2(self.x + other.x, self.y + other.y)

    def __sub__(self, other):
        return P2(self.x - other.x, self.y - other.y)

    def smul(self, a):
        return P2(self.x * a, self.y * a)

    def dot(self, other):
        return self.x * other.x + self.y * other.y

    def det(self, other):
        return self.x * other.y - self.y * other.x


n = int(input())
p = [P2(*map(int, input().split())) for _ in range(n)]

dist = [[(p[i] - p[j]).norm2 for j in range(n)] for i in range(n)]


def check(r):
    # 最小包含円の半径がr以下であるか

    # 半径rの円２つの交点の列挙
    cand = []
    for i in range(n - 1):
        for j in range(i + 1, n):
            c_ij = (p[i] + p[j]).smul(0.5)
            d_ij = p[i] - p[j]
            # cand.append(c_ij)

            if dist[i][j] < r * 2:
                # 点iと点jを中心とする半径rの円は交点を持つ時
                h = (r**2 - (dist[i][j] / 2)**2)**0.5
                v = P2(-d_ij.y, d_ij.x).smul(h / d_ij.norm2)
                cand.append(c_ij + v)
                cand.append(c_ij - v)

    for cand_p in cand:
        is_in = True
        for i in range(n):
            if (p[i] - cand_p).norm2 > r + EPS:
                is_in = False
                break
        if is_in:
            # print(r, cand_p.x, cand_p.y)
            return True
    return False
    # return any(all((pi - ci).norm2 <= r + EPS for pi in p) for ci in cand)


lb = 0.0  # False
ub = 2000  # True
while ub - lb > EPS:
    mid = (ub + lb) / 2
    if check(mid):
        ub = mid
    else:
        lb = mid

print(ub)
