function Main(s) {
  s = s.split(" ").map(a => +a);
  var a = s[0];
  var b = s[1];
  var k = s[2];
  var c = Math.min(b, a + k);
  for(;a < c; a++){
    console.log(a);
  }
  c = Math.max(a, b - k + 1);
  for(a = c; a <= b; a++){
    console.log(a);
  }
}

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