fun main(args: Array<String>) {
    val line = readLine()!!
    val K = line.split(" ")[0].toInt()
    val X = line.split(" ")[1].toInt()

    for (i in (X-K+1)  until (X+K)) {
        if (i < X+K-1) {
            print(i)
            print(" ")
        } else {
            println(i)
        }
    }
}