a,b=map(int,input().split()) c=list(map(int,input().split())) for i in range(a): c[i]+=b print(*c)