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