#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
	int a,b,k,s[10001],sum=0,ans,i;
	cin>>a>>b>>k;
	sum=b-a+1;	
	ans=2*k;
	if(sum<=ans)
   {
   	for(i=a;i<=b;i++)
    printf("%d\n",i);
   }  
    else
   {
   	for(i=a;i<=a+k-1;i++)
   	printf("%d\n",i);
   	for(i=b-k+1;i<=b;i++)
   	printf("%d\n",i);
   } 
	 return 0;
}