n, h = map(int, input().split()) t = list(map(int, input().split())) ans = [] def calc(x, h): return x + h for i in range(n): ans.append(calc(t[i], h)) print(*ans)