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 s: print(int(*i))