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

    (Math.max(min, X - (K-1))..Math.min(max, X + (K-1))).joinToString(" ").let(::println)
}