n = int(input()) if n == 1: exit(print(101)) a = list(map(int, input().split())) m = n - sum(a) % n if sum(a) % n != 0 else 0 print((100 - m) // n + 1)