n,h=map(int,input().split()) t=list(map(int,input().split())) print(*[i+h for i in t])