import math n=int(input()) x=list(map(int, input().split())) ave=sum(x)/n print(*[math.floor(50-(ave-x[i])/2) for i in range(n)], sep="\n")