#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, b;
  scanf("%d%d%d", &n, &a, &b);
  if (n <= a * b) {
    for (int i = 0, p = 1, q = 2; i < a; ++i) {
      for (int j = 0; j < b; ++j) {
        if ((i + j) % 2 == 0) {
          printf("%d ", (p <= n ? p : 0));
          p += 2;
        } else {
          printf("%d ", (q <= n ? q : 0));
          q += 2;
        }
      }
      printf("\n");
    }
  } else {
    printf("-1\n");
  }
  return 0;
}
