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