import std.stdio, std.string, std.algorithm, std.conv, std.range, std.array;

void main(){
  auto input = readln.chomp.split.map!(to!int).array;
  chain(iota(input[0],min(input[0]+input[2],(input[0]+input[1]+1)/2)),iota(max(input[1]-input[2]+1,(input[0]+input[1])/2),input[1]+1)).each!writeln;
}