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