import std.stdio, std.algorithm, std.string, std.conv, std.array, std.range, std.math;
int readint() { return readln.chomp.to!int; }
int[] readints() { return readln.split.to!(int[]); }


void main() {
    int a, b, k;
    readf("%d %d %d\n",&a,&b,&k);

    int[int] S;
    foreach(i; a..a+k) if(a <= i && i <= b) S[i] = 1;
    foreach(i; b-k+1..b+1) if(a <= i && i <= b)  S[i] = 1;

    foreach(i; S.keys.sort()) {
        writeln(i);
    }

    auto _ = readln(); // dbg
}