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