import Control.Applicative
import Control.Monad
import Data.List
import Data.Array
import Data.Char

main = do
  [a, b, k] <- map (read::String -> Int) . words <$> getLine
  forM [a..(min (a + k - 1) b)] (\x -> print x)
  forM [(max (b - k + 1) (a + k))..b] (\x -> print x)
