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