N = int(input())
S = list(map(int, input().split()))
max = 0
result = 0
for i in range(N):
    if max < S[i]:
        max = S[i]
for i in range(N):
    result += S[i]
result = result / max * 100 / N
print(result)

cbbc74de3980c610d6f1ea28e71e34b4995f24f9
<mask token>

<mask token>
for i in range(N):
    if max < S[i]:
        max = S[i]
for i in range(N):
    result += S[i]
<mask token>
print(result)

N = int(input())
S = list(map(int, input().split()))
max = 0
result = 0
for i in range(N):
    if max < S[i]:
        max = S[i]
for i in range(N):
    result += S[i]
result = result / max * 100 / N
print(result)
