module Main where

readL :: Read a => IO [a]
readL = map read . words <$> getLine

main = do
  [k, x] <- readL
  let p = max (-1000000) $ x - k + 1:: Int
  let q = min 1000000 $ x + k - 1:: Int
  mapM_ print [p..q]
