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