N = int(input()) a = sum(map(int, input().split())) if N > 1 else 0 b = a % N print((100 - (0 if b == 0 else N - b)) // N + 1)