let rsa () = stdin.ReadLine().Split(' ')
let ria () = rsa () |> Array.map (fun x -> int x)

let [| K; X |] = ria()

let MIN = -10000000
let MAX = 10000000

let answer k x =
  let min' = max (x - k + 1)  MIN
  let max' = min (x + k - 1) MAX
  (min', max')
  

let _ans = answer K X
let a, b = _ans

let rec p min' max' =
  if min' < max' then
    printf "%d " min' |> ignore
    p (min' + 1) max'
  elif min' = max' then
    printf "%d" min' |> ignore
    p (min' + 1) max'
  else ()

p a b
printfn ""