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