import kotlin.math.max
import kotlin.math.min

fun main(args: Array<String>) {
    val (k, x) = readIntList()
    val l = max(x - (k - 1), -1000000)
    val r = min(x + (k - 1), 1000000)
    (l..r).forEach { print("$it ") }
}

// Tools
fun readString() = readLine()!!
fun readInt() = readLine()!!.toInt()
fun readLong() = readLine()!!.toLong()
fun readStringList() = readLine()!!.split(" ")
fun readIntList() = readLine()!!.split(" ").map(String::toInt)
fun readLongList() = readLine()!!.split(" ").map(String::toLong)