import sys N,H = map(int, sys.stdin.readline().split()) T = list(map(int, sys.stdin.readline().split())) print(' '.join([str(t + H) for t in T]))