#include<iostream>
using namespace std;
int main(){	
  	int A,B,K;
  	cin>>A>>B>>K;
  	if(B-A<2*K)for(int i=A;i<=B;i++)cout<<i<<"\n";
  	else for(int i=A;i<=B;i++)if(i<A+K||B-K<i)cout<<i<<"\n";
  	return 0;
}
