import math

N = eval(input())

S = sum([int(input()) for i in range(N)]) / float(N)

print(int(math.floor(S)))
N = eval(input())

print(sum([int(input()) for i in range(N)]) / N)
import math

N = eval(input())
S = sum([int(input()) for i in range(N)]) / float(N)
print(int(math.floor(S)))

N = eval(input())
print(sum([int(input()) for i in range(N)]) / N)

-import math - -S = sum([int(input()) for i in range(N)]) / float(N) -print(int(math.floor(S))) +print(sum([int(input()) for i in range(N)]) / N)