N,H = map(int,input().split()) List = list(map(int,input().split())) ans = [item+H for item in List] print(*ans)