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