import java.io._
import java.util.StringTokenizer
import scala.util.control.Breaks.{breakable,break}
import scala.collection.mutable.{Map, Stack, Queue, PriorityQueue, Set}

object Main extends App {
  val in = new InputReader(System.in)
  val pw = new PrintWriter(System.out)

  val N = in.next().toInt
  val coords = new Array[(Double, Double)](N)
  for (i <- 0 until N) {
    val x, y = in.next().toDouble
    coords(i) = (x, y)
  }

  def getDist(p1: (Double, Double), p2: (Double, Double)): Double = {
    import Math.{pow, sqrt}
    sqrt(pow(p1._1 - p2._1, 2) + pow(p1._2 - p2._2, 2))
  }

  def getValue(s: Double, g: Double, d: Double): Double = {
    val move = (s-g).abs * d

    if (s > g)
      s - move
    else
      s + move
  }

  var now = (500.0, 500.0)
  var d = 1.0
  while (d > 1e-7) {
    val (nx, ny) =
      coords
        .map(pos => (getDist(now, pos), pos))
        .sorted.reverse
        .head._2

    now = (getValue(now._1, nx, d), getValue(now._2, ny, d))
    d *= 0.999
  }

  val ans =
    coords
      .map(pos => getDist(now, pos))
      .sorted.reverse
      .head

  println(ans)
}

object Sub {
  def print2DimArray[A](mat: Array[Array[A]]): Unit = {
    mat.foreach(lin => println(lin.toList))
  }
}

class InputReader(stream: InputStream) {
  private[this] val reader = new BufferedReader(new InputStreamReader(stream))
  private[this] var tokenizer: StringTokenizer = new StringTokenizer(reader.readLine())
  def next(): String = {
    while (!tokenizer.hasMoreTokens()) {
      tokenizer = new StringTokenizer(reader.readLine())
    }
    tokenizer.nextToken()
  }
}
