n, h = map(int, input().split()) A = list(map(lambda x: int(x)+h, input().split())) print(*A)