x = []

for _ in [0] * eval(input()):

  x.append(eval(input()))

print(sum(x)/len(x))
x = 0

n = int(input())

for _ in [0] * n:

  x += int(input())

print(x/n)
x = []
for _ in [0] * eval(input()):
    x.append(eval(input()))
print(sum(x) / len(x))

x = 0
n = int(input())
for _ in [0] * n:
    x += int(input())
print(x / n)

-x = [] -for _ in [0] * eval(input()): -    x.append(eval(input())) -print(sum(x) / len(x)) +x = 0 +n = int(input()) +for _ in [0] * n: +    x += int(input()) +print(x / n)