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

void main() {
    auto tmp = readln.split.to!(int[]);
    iota(tmp[0], tmp[1]+1).filter!(i => i < tmp[0] + tmp[2] || i > tmp[1] - tmp[2]).each!writeln;
}
