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