fun main (args:Array<String>) {
    val (blackStone, blackX) = readLine()!!.split(" ").map(String::toInt)
    val min = blackX - (blackStone - 1)
    val max = blackX + (blackStone - 1)
    for(i in min..max){
        print("${i} ")
    }
}