'use strict'

function main(input) {

    input = input.split(' ').map(v=>~~v)
        
    let start = input[0]
    let end = input[1]
    let limit = input[2]
    let set = new Set()
    let ans = ''
    let i=0

    while(limit > i )
    {  
        let tmp = start + i
        if(tmp <= end ){

            set.add(tmp)
        } 
        i++;
    }

    i=0
    while(limit > i )
    {  
        let tmp = end - i
        if(tmp >= start ){

            set.add(tmp)
        } 
        i++;
    }
    set.forEach((v)=>{
        ans += v+'\n'
    })
    
    console.log(ans)
}

main(require("fs").readFileSync("/dev/stdin", "utf8"));