#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a, b;
  cin >> a >> b;
  int o = 1;
  int e = 2;
  int ans[a + 5][b + 7];
  memset(ans, 0, sizeof(ans));
  ans[1][1] = 1;
  if (a * b < n) {
    cout << -1;
    return 0;
  }
  for (int i = 1; i <= a; i++) {
    for (int j = 1; j <= b; j++) {
      if (i == 1) {
        if (ans[i][j - 1] & 1) {
          ans[i][j] = e;
          e += 2;
        } else {
          ans[i][j] = o;
          o += 2;
        }
      } else if (j == 1) {
        if (ans[i - 1][j] & 1) {
          ans[i][j] = e;
          e += 2;
        } else {
          ans[i][j] = o;
          o += 2;
        }
      } else if (i - 1 > 0 && j - 1 > 0) {
        if (ans[i - 1][j] & 1 && ans[i][j - 1] & 1) {
          ans[i][j] = e;
          e += 2;
        } else {
          ans[i][j] = o;
          o += 2;
        }
      }
    }
  }
  for (int i = 1; i <= a; i++) {
    for (int j = 1; j <= b; j++) {
      if (ans[i][j] > n)
        cout << 0 << " ";
      else
        cout << ans[i][j] << " ";
    }
    cout << endl;
  }
}
