#include<bits/stdc++.h>
using namespace std;
int aa[200];
int main()
{
    int n,a,b,c,i,j;
    cin>>a>>b>>c;
    for(i=0,j=b; i<c; i++,j--){
        aa[i]=a;
        a++;
        aa[j]=b;
        b--;
        if(aa[i]==aa[j])
            break;
    }
    sort(aa,aa+200);
    for(i=0; i<=200; i++)
    {
        if(aa[i]>0&& aa[i]!=aa[i+1])
            cout<<aa[i]<<endl;
    }
}
