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