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