#include <iostream>
#include <cstdio>
#include <sstream>
#include <cstring>
#include <map>
#include <set>
#include <vector>
#include <stack>
#include <queue>
#include <algorithm>
#include <cmath>
#define MOD 2017
#define LL long long
#define INF 0x3f3f3f3f
#define MAXN 200005
#define Pair pair<int, int>
#define mem(a, b) memset(a, b, sizeof(a))
#define _  ios_base::sync_with_stdio(0),cin.tie(0)
//freopen("1.txt", "r", stdin);
using namespace std;
int main()
{

    int n, m, k;
    cin >> n >> m >> k;
    int i;
    for (i = n; i < n+k && i <= m; i++) {
        cout << i << endl;
    }
    for (int j = max(i, m-k+1); j <= m; j++) {
        cout << j << endl;
    }
    return 0;
}

