import java.util.*

fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`)

    val min = scanner.nextInt()
    val max = scanner.nextInt()
    val size = scanner.nextInt()
    val list = mutableListOf<Int>()

    for(i in min until min+size) {
        if (i > max) {
            break
        }
        list.add(i)
    }

    for(i in max-size+1 .. max) {
        if (!list.contains(i) && i > min) {
            list.add(i)
        }
    }

    list.forEach {it -> println(it)}
}