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