n, h = map(int, input().split()) print(" ".join([str(h+i) for i in list(map(int,input().split()))]))