N = int(input()) A = list(map(int,input().split())) V = sum(A)/N for a in A: print(int(50-(V-a)/2))