fun main(arr:Array<String>) {
    val (blackCount, idx) = readLine()!!.split(" ").map { it.toInt() }
    val minIdx = idx - (blackCount - 1)
    val maxIdx = idx + (blackCount - 1)
    val ans = (minIdx..maxIdx).joinToString(" ")
    println(ans)
}
