#include <vector>
#include <iostream>
#include <queue>
#include <utility>
using namespace std;

int main(){

    int n, k, x;
    cin >> n >> k >> x;

    if(x > n - 3){
        cout << -1 << endl;
        return 0;
    }

    vector<int> arr(n);

    for(int i = 0; i < 2; i++)
        arr[i] = i + 1;

    int m = 2;

    for(int i = x + k - 1; i > k - 1; i--){
        if(m == n)
            break;

        arr[m] = i;
        m++;
    }

    for(int i = 0; i < n; i++)
        cout << arr[i] << " ";
    cout << endl;

    return 0;
}