N = int(input()) if N == 1: S = 0 else: A = list(map(int, input().split())) S = sum(A) print((S+100)//N - (S+N-1)//N + 1)