N, H = map(int,input().split()) T = list(map(int,input().split())) T2 = [] for t in T: T2.append(t+H) print(" ".join(map(str,T2)))