
    fun main(args: Array<String>) {
        val (n, m) = readNext().split(" ")
        val k = Integer.parseInt(n)
        val x =  Integer.parseInt(m)

        val min = if(x == 0) {
            x - (k - 1)
        }else {
            x - k + 1
        }
        val max = x + (k - 1)
        var i = min
        var result = ""
        while(i <= max) {
            result += i
            i++
            if ( i <= max ) {
                result += " "
            }
        }
        println(result)


    }


    fun readNext(): String {
        return readLine()!!
    }
