n=int(input()) x=list(map(int,input().split())) a=sum(x)/n b=[] for i in x: b.append(50-(a-i)/2) for i in b: print(int(i))