#include<stdio.h>
     
int main(void)
{
   int a,b,k,n,i;
   scanf("%d%d%d",&a,&b,&k);
     
   for(i=a;i<=b;i++){
      if((i<=a+k-1)||(i>=b-k+1))
         printf("%d\n",i);
     }
     return 0;
}
