let rec printList lst =
    match lst with
    | [] -> printf "\n"
    | [x] -> printf "%d" x
    | x :: tail ->
         printf "%d " x
         printList tail

let [|k; x|] = stdin.ReadLine().Split(' ') |> Array.map int
seq { (max (x - (k - 1)) -1000000)..(min (x + (k - 1)) 1000000) }
|> Seq.toList
|> printList
