n,h = map(int,input().split()) T = list(map(int,input().split())) for i in range(n): print(T[i] + h,end=" ")