import java.util.*
fun main(args:Array<String>) {
    val (A,B,K) = readLine()!!.split(" ").map(String::toLong)
    val list: MutableList<Long> = mutableListOf()

    
    for(i in A.until(A+K)) {
        list.add(i)
    }

    for(i in (B-K+1)..B) {
        list.add(i)

    }

    list.sorted().filter{ it >= A && it <= B }.toSet().forEach{ println(it)}
}


