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