import sys n,*others = sys.stdin.readlines() n = int(n) total = sum(map(int, others[0].split())) way=((100 + total) // n - total // n) print(way + 1 if total % n == 0 else way)