n=int(input()) ls=[int(i) for i in input().split()] av=sum(ls)//len(ls) for i in range(n): d=50-(av-ls[i])//2 print(d)