#include <bits/stdc++.h>
#define lsb(x) (x & (-x))
#define ll long long
#define ull unsigned long long
// 217
// 44

using namespace std;

int main() {
    //ifstream cin("A.in");
    //ofstream cout("A.out");
    int i, n, a, b;
    ios::sync_with_stdio(false);
    cin >> n >> a >> b;
    if(!(a + b <= n + 1 && 1LL * a * b >= n)) {
        cout << -1;
        return 0;
    }
    int nr = n - a, val = 1;
    for(i = 1; i <= a; i++) {
        int cnt = min(b - 1, nr);
        nr -= cnt;
        for(int j = val + cnt; j >= val; j--) {
            cout << j << " ";
        }
        val += cnt + 1;
    }
    //cin.close();
    //cout.close();
    return 0;
}
