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