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