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