fun main(args: Array<String>) {
    abc093b()
}

// retest
fun abc093b() {
    val (a, b, k) = readLine()!!.split(" ").map { it.toLong() }

    val answer = (a..b).filter { it < a + k || it > b - k }

    println(answer.joinToString(separator = System.lineSeparator()))
}
