n = int(input()) now = list(map(int, input().split())) m = max(now) for i in range(n): now[i] = now[i]/m*100 hap = sum(now) print(hap/n)
for문을써서 평균을 구하려고 했는데, sum을 구한 다음 int로 나눠서 프린트하면 더 간략하게 풀 수 있었다.