N,W,*T=map(int,open(0).read().split());print(*[t+W for t in T])