n, h = map(int, input().split()) T = list(map(int, input().split())) for t in T: print(t + h, end=" ")