#include<cstdio>
void printdesc(long long number, long long smaller) {
	for (long long i = smaller + number; i > smaller; i--)printf("%lld%s", i, i == smaller + 1 ? "" : " ");
}

int main() {
	long long n, a, b, i, j, remain, smaller;
	scanf("%lld%lld%lld", &n, &a, &b);
	if (a + b - 1 > n || a*b < n) {
		printf("-1");
		return 0;
	}
	remain = n-a;
	smaller = 0;
	for (i = 1; i <= a; i++) {
		if (remain >= b - 1) {
			printdesc(b, smaller);
			remain -= b - 1;
			smaller += b;
		}
		else {
			printdesc(1 + remain, smaller);
			smaller += 1 + remain;
			remain = 0;
		}
		if (i != a)printf(" ");
	}
	return 0;
}