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