n=int(input()) a=list(map(int,input().split())) L=sum(a)//n print(sum(v>=L+100 for v in a))