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