import java.lang.StringBuilder

fun main(arr:Array<String>) {
    val (a,b,k) = readLine()!!.split(" ").map { it.toLong() }
    val list = (a..Math.min(a+k-1,b)).union((Math.max(b-k+1, a)..b))
    val ans = StringBuilder()
    list.forEach{ans.appendln(it)}
    print(ans.toString())

}
