N = int(input().strip()) x = [int(i) for i in input().strip().split(' ')] A = sum(x) / len(x) print(' '.join([str(int(50 - ((A - i) / 2))) for i in x]))