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