N = int(input()) A = list(map(int, input().split())) from math import ceil print((100//N)+int(100%N>=ceil(sum(A)/N)*N-sum(A)))