n,h = map(int,input().split()) t = list(map(int,input().split())) ans = list(map(lambda x: str(x+h), t)) print(" ".join(ans))