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