function main(input) {
    var s = input[0].split(" ").map(v=>v-0);
    var a = s[0], b=s[1], k=s[2];
    var ans = [];
    for(var i=a;i<a+k&&i<=b;i++){
        ans.push(i);
    }
    for(var i=b-k+1;i<=b;i++){
        if(i>=a+k)
            ans.push(i);
    }
    
    console.log(ans.join("\n"));
}
main(require('fs').readFileSync('/dev/stdin', 'utf8').trim().split("\n"))
