object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val a, b, k = sc.nextInt()
  var ans = ((a until (a + k).min(b)) ++ ((b - k + 1).max(a) to b)).distinct
  ans.foreach(println)
}
