N = int(input()) if N == 1: K = 101 print(K) else: A = list(map(int, input().split(' '))) W = sum(A) H = (W + 100) // N - (W - 1) // N print(H)