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