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