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