N,H = map(int,input().split()) T = list(map(int,input().split())) ans = [t+H for t in T] print(*ans)