#yuki1131 n=int(input()) x=list(map(int,input().split())) a=sum(x)/n for i in range(n): y=50.0-(a-x[i])/2.0 print(int(y))