n, h = [int(v) for v in input().split()] t = [int(v) for v in input().split()] t2 = [v + h for v in t] print(*t2)