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