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