#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
    int a,b,k;
    cin>>a>>b>>k;
    a = min(a,b);
    b = max(a,b);
    if(b-a+1 >= k*2)
    {
        int temp = a;
        for(int i=0; i<k; i++)
        {
            cout<<temp<<endl;
            temp++;
        }
        temp = b;
        for(int i=k-1; i>=0; i--)
        {
            cout<<temp-i<<endl;

        }
    }
    else
    {
        for(int i=a; i<=b; i++)
            cout<<i<<endl;
    }
    return 0;
}
