import strutils, sequtils, math, algorithm

var n = readLine(stdin).parseInt
var v = readLine(stdin).split.map(parseInt)

var arr = v.sorted

var tmp = arr[0].float

for i in 1..<len(arr):
  tmp = (tmp + arr[i].float)/2

echo tmp
