#include <iostream>
using namespace std;
int a, b, k, x, y;
int main() {
	int i;
	cin>>a>>b>>k;
	x = min(a+k, b);
	for(i=a; i<x; i++) cout<<i<<endl;
	y = max(x, b-k+1);
	for(i=y; i<=b; i++) cout<<i<<endl;
	return 0;
}