N, H = map(int, input().split()) T = [int(i) for i in input().split()] for i in range(len(T)): T[i] += H print(*T)