N=int(input()) A=list(map(int,input().split())) mean=sum(A)/N for a in A: print((100-(mean-a))//2)