fun main(args: Array<String>) {
    val N = readLine()!!.toInt()
    val p = Array(N) {
        val (x, y) = readLine()!!.split(" ").map{it.toDouble()}
        Pair(x, y)
    }

    fun dot(a: Pair<Double, Double>, b: Pair<Double, Double>): Double {
        return a.first * b.first + a.second * b.second
    }
    fun cross(a: Pair<Double, Double>, b: Pair<Double, Double>): Double {
        return a.first * b.second - a.second * b.first
    }

    fun plus(a: Pair<Double, Double>, b: Pair<Double, Double>): Pair<Double, Double> {
        return Pair(a.first + b.first, a.second + b.second)
    }

    fun minus(a: Pair<Double, Double>, b: Pair<Double, Double>): Pair<Double, Double> {
        return Pair(a.first - b.first, a.second - b.second)
    }

    fun dist(x: Double, y: Double, p: Pair<Double, Double>): Double {
        return Math.sqrt(Math.pow(p.first - x, 2.0) + Math.pow(p.second - y, 2.0))
    }

    var cx = 0.0
    var cy = 0.0
    var alpha = 0.7
    var r = 1e18

    for (k in 1..100000) {
        var t = -1
        var mr = 0.0

        for (i in p.indices) {
            val d = dist(cx, cy, p[i])
            if (d > mr) {
                mr = d
                t = i
            }
        }

        val v = minus(p[t], Pair(cx, cy))
        cx += v.first * alpha
        cy += v.second * alpha

        alpha *= 0.999
        r = mr
    }

    System.out.printf("%1.10f\n", r)
}
