n, h = map(int, input().split()) T = list(map(int, input().split())) newT = [x + h for x in T] print(*newT)