object Main {

	def main(arg:Array[String]) = {
		val Array(a, b, k) = scala.io.StdIn.readLine().trim.split(" ").map(_.toInt);
		val st = scala.collection.mutable.TreeSet.empty[Int];
		for (i <- 0 until k) {
			if (a + i <= b) st += (a + i);
			if (b - i >= a) st += (b - i);
		}
		st.foreach(println);
	}
}
