open Scanf
open Printf

let rint () = scanf " %d" (fun x -> x)
let stoa s = Array.init (String.length s) (String.get s)
let atos a = String.init (Array.length a) (Array.get a)

let () =
  let k = rint () and x = rint () in
  for i = -1000000 to 1000000 do
    if i >= x - k + 1 && i <= x + k - 1 then
      printf "%d " i
  done;
  printf "\n"