N, H = [int(x) for x in input().split()] data = [int(x) for x in input().split()] results = [str(x+H) for x in data] print(" ".join(results))