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