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