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