N,H = map(int,input().split()) lsT = list(map(int,input().split())) lsans = [] for i in range(N): lsans.append((lsT[i]+H)) print(*lsans,sep=' ')