#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  int n, a, b;
  scanf("%d%d%d", &n, &a, &b);
  int st[a + 10][b + 10];
  memset(st, 0, sizeof st);
  int cnt = 0, ans = 0;
  if (b % 2) {
    for (int i = 1; i <= a; i++) {
      for (int j = 1; j <= b; ++j) {
        cnt++;
        st[i][j] = cnt;
      }
    }
  } else if (a % 2) {
    for (int j = 1; j <= b; ++j) {
      for (int i = 1; i <= a; ++i) {
        cnt++;
        st[i][j] = cnt;
      }
    }
  } else {
    cnt = 1;
    for (int i = 1; i <= a; i++) {
      for (int j = 2 - (i % 2); j <= b; j += 2) {
        st[i][j] = cnt;
        cnt += 2;
      }
    }
    cnt = 2;
    for (int i = 1; i <= a; i++) {
      for (int j = 1 + (i % 2); j <= b; j += 2) {
        st[i][j] = cnt;
        cnt += 2;
      }
    }
  }
  for (int i = 1; i <= a; i++) {
    for (int j = 1; j <= b; ++j) {
      if (st[i][j] <= n)
        ans++;
      else
        st[i][j] = 0;
    }
  }
  if (ans < n)
    printf("-1\n");
  else {
    for (int i = 1; i <= a; i++) {
      for (int j = 1; j <= b; ++j) {
        printf("%d ", st[i][j]);
      }
      printf("\n");
    }
  }
  return 0;
}
