let () = Scanf.scanf "%d %d" @@ fun k x ->
  let left = max (-1000000) (x - k + 1) in
  let right = min 1000000 (x + k -1) in
  Printf.printf "%d" left;
  for i = (left + 1) to right do
    Printf.printf " %d" i
  done;