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