#include <bits/stdc++.h>

using namespace std;

int main()
{
	int n, a, b;
	cin >> n >> a >> b;
	if (n > long(a)*b || n < a + b - 1) {
		cout << -1 << endl;
		return 0;
	}
	for (int i = b; i; i--)
		cout << i << ' ';
	for (int m = b; --a;) {
		int l = m + (n - m + a - 1) / a;
		for (int i = l; i > m; i--)
			cout << i << ' ';
		m = l;
	}
	cout << endl;
	return 0;
}
