N,H=map(int,input().split()) print(*list(map(lambda x:x+H,list(map(int,input().split())))))