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