n = int(input()) xn = list(map(int,input().split())) xn_ave = sum(xn)/len(xn) for xi in xn: print(int(50-((xn_ave-xi)/2)))