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