# a,b,c,d = map(int,input().split()) # if a < b and c > d: # print("YES") # else:print("NO") n,h = map(int,input().split()) a = list(map(int,input().split())) for i in range(n): a[i] += h print(*a)