p,q=map(int,input().split()) print(*[int(i)+q for i in input().split()])