N=int(input()) data=list(map(int,input().split())) mean=sum(data)/N for i in range(N): print(int(50-(mean-data[i])/2))