import java.util.*

fun main(args: Array<String>) {
  val n = readLine()!!.toInt()
  val list = readLine()!!.split(" ").map { it.toDouble() }
  val sortedList = list.sortedBy { it }.reduce { a, b ->
    (a + b) / 2
  }
  println(sortedList)
}
