n = int(input()) x = list(map(int, input().split())) def f(i): return int(50-(sum(x)/n-i)/2) for i in x: print(f(i))