_, H = map(int, input().split()) T = list(map(int, input().split())) t = [i+H for i in T] print(*t)