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