N,H = map(int,input().split()) p = list(map(int,input().split())) for i in range(N): p[i] +=H print (*p)