import Foundation
func toTuple<T>(_ args: [T]) -> (T, T, T) { (args[0], args[1], args[2]) }
func readInts() -> [Int] { readLine()!.split(separator: " ").map { Int($0)! } }

let (a, b, k) = toTuple(readInts())
var array: [Int] = []
if (b - a) / 2 >= k {
  array.append(contentsOf: a...a+k-1)
  array.append(contentsOf: b-k+1...b)
} else {
  array.append(contentsOf: a...b)
}
Set(array).sorted().forEach { print($0) }