N,H=map(int,input().split()) A=list(map(int,input().split())) B=[a+H for a in A] print(*B)