N, H = map(int, input().split()) T = list(map(int, input().split())) ans = list(map(lambda x: x + H, T)) print(*ans)