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

v_sorted = sorted(v)
average = 0

for i in range(N - 1):
    v_sorted[i + 1] = (v_sorted[i] + v_sorted[i + 1]) / 2
    print(v_sorted, average)

print(v_sorted[-1])
