#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) { return a % b == 0 ? b : gcd(b, a % b); }
const int INF = 1 << 30;
const double eps = 1e-8;
const int row = 3000;
const int cow = 220;
const int MAXN = cow * cow;
int n, m, a, b;
int main() {
  int i, j, t;
  scanf("%d%d%d", &n, &a, &b);
  if (a * b < n)
    printf("-1\n");
  else {
    int x = 1, y = 2;
    int ok = 0;
    for (i = 0; i < a; i++) {
      for (j = 0; j < b; j++) {
        if (ok == 0) {
          if (x <= n) {
            printf("%d", x);
            x += 2;
          } else
            printf("0");
          ok = 1;
        } else {
          if (y <= n) {
            printf("%d", y);
            y += 2;
          } else
            printf("0");
          ok = 0;
        }
        printf("%c", j == b - 1 ? '\n' : ' ');
      }
      if (b % 2 == 0) ok = (ok + 1) % 2;
    }
  }
  return 0;
}
