N = int(input())
Vs = list(map(int, input().split()))

Vs.sort()

print(Vs)

initialGousei = (Vs[0] + Vs[1]) / 2

for i in range(2, N):
    initialGousei = (initialGousei + Vs[i]) / 2

print(initialGousei)
