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