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