N = int(eval(input()))

lis_v = list(map(int, input().split()))



lis_v.sort()



while len(lis_v) != 1:

      before = lis_v.pop(0)

      lis_v[0] = ((before + lis_v[0])/2)





print((lis_v[0]))

n = int(eval(input()))

L = list(map(int,input().split()))



L.sort()

v=L[0]

for i in range(1,n):

      v = (v + L[i])/2

      

print(v)

N = int(eval(input()))
lis_v = list(map(int, input().split()))
lis_v.sort()
while len(lis_v) != 1:
    before = lis_v.pop(0)
    lis_v[0] = (before + lis_v[0]) / 2
print((lis_v[0]))

n = int(eval(input()))
L = list(map(int, input().split()))
L.sort()
v = L[0]
for i in range(1, n):
    v = (v + L[i]) / 2
print(v)

-N = int(eval(input())) -lis_v = list(map(int, input().split())) -lis_v.sort() -while len(lis_v) != 1: -    before = lis_v.pop(0) -    lis_v[0] = (before + lis_v[0]) / 2 -print((lis_v[0])) +n = int(eval(input())) +L = list(map(int, input().split())) +L.sort() +v = L[0] +for i in range(1, n): +    v = (v + L[i]) / 2 +print(v)