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