a = int(input())
b = list(map(int, input().split()))
result = 0

b.sort()
print(b)

for i in range(a):
    if i == 0:
        result = b[i]
    else:
        result = result / 2
        result += b[i] / 2

print(result)