N,W,*T=map(int,open(0).read().split()) for t in T:print(t+W,end=' ') print()