N = int(input()) x_s = [int(x) for x in input().split()] A = sum(x_s) / len(x_s) d = [int(50-(A-x)/2) for x in x_s] p = list(map(print, d))