n, h = read_line.split.map &.to_i a = read_line.split.map &.to_i puts a.join(' ') { |i| i + h }