import kotlin.math.max

fun main() {
  val (K, X) = readInts()
  val result = mutableListOf<Int>()
  for (x in -1000000..1000000) {
    val d = if (x > X) x - X else X - x
    if (d < K) result.add(x)
  }
  println(result.joinToString(" "))
}

fun readString() = readLine()!!
fun readStrings() = readString().split(" ")
fun readInt() = readString().toInt()
fun readLong() = readString().toLong()
fun readInts() = readStrings().map { it.toInt() }
fun readLongs() = readStrings().map { it.toLong() }
