N,H = map(int,input().split()) num = map(int,input().split()) for i in num: n = int(i) print(n+H,end=' ')