import math N=int(input()) x=[*map(int,input().split())] avg=sum(x)//N for i in range(N): print(math.floor(50-(avg-x[i])//2))