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