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