import scala.io.StdIn

object Main extends App {
    val in = StdIn.readLine.split(" ").map(_.toInt)
    val k = in(0)
    val x = in(1)
    
    val min = x - (k - 1)
    val max = x + (k - 1)
    
    val range = Range(min, max + 1)
    println(range.mkString(" "))
}
