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