import scala.io.StdIn

object Main extends App {
  val Array(a, b, k) = StdIn.readLine().trim.split(" ").map(_.toInt)
  val k1 = if(b - a <= k) b - a else k
  val result: Array[Int] = if(a != b) ((a until a + k1).map(i => i) ++ (b - k1 + 1 to b ).map(i => i)).toArray
  else Array(a)
  
  println(result.distinct.mkString(f"%n"))
}