n = int(input())
a = (input()).split(" ")
sumv = 0
temp = []
for i in range(n):
    temp.append(int(a[i]))
temp.sort()
for i in range(n-1):
    if(i==0):
        sumv =  (temp[i] + temp[i+1])/2
    else:
        sumv = (sumv + temp[i+1])/2
    print(sumv)
print(sumv)