n,h=map(int,input().split()) t=list(map(int,input().split())) s=[str(t[i]+h) for i in range(n)] print(' '.join(s))