import sys readline=sys.stdin.readline N,H=map(int,readline().split()) T=list(map(int,readline().split())) for i in range(N): T[i]+=H print(*T)