import java.util.*

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

    val v = (a until Math.min(a + k, b)) + (Math.max(a, b - k + 1)..b)
    v.toSet()
            .map { println(it) }

}