"use strict"

const Main= (input)=>{
  const Array=input.split(" ").map((ele)=>{return ele-0})
  const A=Array[0],B=Array[1],K=Array[2]
  
  const resultArray=[]
  for(let i=A;i<A+K&&i<=B;i++){
    resultArray.push(i)
  }
  for(let j=B-K+1;j<=B;j+=1){
    if(j>=A+K)resultArray.push(j)
  }
  const result=resultArray.join("\n")
  console.log(result)
}

Main(require('fs').readFileSync('/dev/stdin', 'utf8'));