N = int(input()) X = list(map(int, input().split())) A = sum(X) / N for i in range(N): print(int(50 - (A - X[i]) / 2))