_,h=map(int,input().split()) print(*[int(x)+h for x in input().split()])