n, h = map(int, input().split()) t = [int(i) + h for i in input().split()] for i in range(n): print(t[i], end=' ') print()