N=parse(readline())
KACHI=parse.(split(readline()))
KACHI=sort!(KACHI)
other=min(KACHI...)
for i in KACHI
    if i==200
       global base_g=i
    else
       global new_g=(base_g+i)/2
       base_g=new_g
    end
  end
println(new_g)


