T,H = map(int, input().split(' ')) A = list(map(int, input().split(' '))) K = [] for i in range(T): K.append(str(A[i] + H)) print(' '.join(K))