n, h = map(int, input().split()) t = list(map(int, input().split())) ans = [e + h for e in t] print(*ans)