let scan_int () = Scanf.scanf " %d" (fun x -> x)
let print_int n = Printf.printf "%d\n" n
let print_list a = 
  let _ = List.iter (Printf.printf "%d ") a in print_newline()

let () =
  let k = scan_int() and x = scan_int() in
  let rec for_loop i ret =
    if i == k then ret
    else for_loop (i+1) ((i+x) :: ret) in
  let l = for_loop (-k+1) [] in
  print_list (List.rev l)
