N = int(input()) A = map(int, input().split(' ')) MOD = sum(A) % N ans = (100 - MOD) // N + 1 print(ans)