import io.StdIn._

object Main extends App {
  val Seq(k, x): Seq[Int] = readLine().split(" ").map(_.toInt)

  require(1 <= k && k <= 100)
  require(0 <= x && x <= 100)

  println((x until x + k).concat(x - k + 1 to x).toSet.toSeq.sorted.mkString(" "))
}
