N = int(input())
v = input().split()

for i in range(N):
    v[i] = float(v[i])
    
v.sort()
ite = 0
while(ite < N-1):
    v[ite+1] = (v[ite]+v[ite+1])/2
    v[ite] = 0
    v.sort()
    print(v)
    ite += 1

print(v[-1])

