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