N, H = map(int, input().split()) T = map(int, input().split() ) print(' '.join(str(t + H) for t in T))