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