N, H = map(int, input().split()) T = tuple(map(int, input().split())) print(*(t + H for t in T))