#include <cstdio>
int N, A, B;
int main() {
	scanf("%d %d %d", &N, &A, &B);
	if (N > 1LL * A * B || A + B > N + 1) printf("-1\n");
	else {
		int cur = N, cnt = 0;
		for (int i = 0; i < A; i++) {
			int x = B;
			if (cur - x < A - i - 1) x = cur - (A - i - 1);
			for (int j = N - cur + x; j >= N - cur + 1; j--) {
				if (cnt++) printf(" ");
				printf("%d", j);
			}
			cur -= x;
		}
		printf("\n");
	}
	return 0;
}