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