fun main(args: Array<String>) {
    val (countBlack, pointBlack) = readLine()!!.split(" ").map { it.toInt() }
    val (min, max) = Pair((pointBlack - countBlack + 1), (pointBlack + countBlack - 1))

    val sb = StringBuilder()
    for (i in min..max){
        sb.append("$i ")
    }
	//削らない場合の結果確認
    println(sb)
}