fun main(args : Array<String>) {
    val left = -1000000
    val right = 1000000
    val (K, X) = readLine()!!.split(" ").map { it.toInt() }


    val l = Math.max(X - (K - 1), left)
    val r = Math.min(X + (K - 1), right)

    (l..r).forEach {
        print(it)
        print(' ')
    }
}