object Main{
    def main(args: Array[String]){
        val numlist = io.StdIn.readLine().split(" ").map(_.toInt).toList
        val a = numlist(0)
        val b = numlist(1)
        val k = numlist(2)
        (a to b).foreach(i => if (i < a + k || i > b - k) println(i))
    }
}