N, H = [int(i) for i in input().strip().split(' ')] T = [int(i) for i in input().strip().split(' ')] print(' '.join([str(i + H) for i in T]))