t = int(input())
a = list(map(int, input().split()[:t]))
avg = 0
for i in a:
    avg = i + avg
print(int(avg / t))

7faa2f951aa830c37634dd9f6bd6ba0599725211
<mask token>

<mask token>
for i in a:
    avg = i + avg
print(int(avg / t))

t = int(input())
a = list(map(int, input().split()[:t]))
avg = 0
for i in a:
    avg = i + avg
print(int(avg / t))
