N, H = map(int, input().split()) A = list(map(int, input().split())) for i in range(N): A[i] += H print(A[i], end = ' '*(i!=(N-1))) print()