from statistics import mean



inputCount = int(eval(input()))

prices = [int(eval(input())) for lp in range(inputCount)]

average = mean(prices)

print((int(average)))



inputCount = int(eval(input()))

prices = [int(eval(input())) for lp in range(inputCount)]

average = sum(prices) // inputCount

print(average)



from statistics import mean

inputCount = int(eval(input()))
prices = [int(eval(input())) for lp in range(inputCount)]
average = mean(prices)
print((int(average)))

inputCount = int(eval(input()))
prices = [int(eval(input())) for lp in range(inputCount)]
average = sum(prices) // inputCount
print(average)

-from statistics import mean - -average = mean(prices) -print((int(average))) +average = sum(prices) // inputCount +print(average)