import scala.io.StdIn._

object Main extends App {
  val Seq(a, b, k) = readLine().split(" ").map(_.toInt).toSeq
  ((a until a + k) ++ (b - k + 1 to b)).toSet.filter(i => a <= i && i <= b).toSeq.sorted.map(println)
}
