# coding: utf-8
n = int(input())

a = list(map(float,input().split())) 

a.sort()

for k in range(n-1):
    b=(a[0]+a[1])/2
    a.append(b)
    a.pop(0)
    a.pop(0)
    a.sort()
    print(a)

A =a[0]
print(A)