n=int(input()) l=[int(i)for i in input().split()] s=[] a=sum(l)/n for i in range(n): s+=[50-((a-l[i])//2)] for i in range(len(s)): print(int(s[i]))