fun main(args: Array<String>) {
  val sc = java.util.Scanner(System.`in`)
  val A = sc.nextInt()
  val B = sc.nextInt()
  val K = sc.nextInt()
  var aa = A + K - 1
  if (aa > B) {
    aa = B
  }
  var bb = B - K + 1
  if (bb <= aa) {
    bb = aa + 1
  }
  ((A..aa) + (bb..B)).forEach(::println)
}
