import java.util.*

fun main(args: Array<String>) {
    val sc = Scanner(System.`in`)
    val k = sc.nextInt()
    val x = sc.nextInt()
    val left = Math.max(-1000000, x - k + 1)
    val right = Math.min(1000000, x + k - 1)
    println((left..right).joinToString(" "))
}