N = int(input())
vs = [2*int(i) for i in input().split()]

vs.sort()

def answer(N , vs):
    if N == 1:
        return vs[0]
    else:
        return (answer(N-1, vs) + vs[N-1]) // 2

print(answer(N, vs) / 2)
