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