N=int(input()) m=0 if N>1:m=sum(map(int,input().split())) print((m+100)//N-(m-1)//N)