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