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