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