a,b=map(int,input().split()) l=list(map(int,input().split())) print(*[l[i]+b for i in range(a)])