import java.util.*

fun main(args: Array<String>) {
  val sc = Scanner(System.`in`)
  val a = sc.nextInt()
  val b = sc.nextInt()
  val k = sc.nextInt()

  val ans = mutableSetOf<Int>()
  for (i in a until a + k) {
    if (i > b) break
    ans.add(i)
  }
  for (j in b downTo b - k + 1) {
    if (j <= a) break
    ans.add(j)
  }

  println(ans.toIntArray().sorted().joinToString("\n"))
}
