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