#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
struct Sync_stdio {
  Sync_stdio() {
    cin.tie(NULL);
    ios_base::sync_with_stdio(false);
  }
} _sync_stdio;
int n, a, b;
void solve(int x) {
  vector<vector<int>> v(a, vector<int>(b));
  int t0 = 0;
  int t1 = 0;
  for (int i = (0); i < (a); ++i) {
    for (int j = (0); j < (b); ++j) {
      if (((i + j + x) & 1) == 0 && t0 < n / 2) {
        v[i][j] = (t0 + 1) * 2;
        ++t0;
      }
    }
  }
  for (int i = (0); i < (a); ++i) {
    for (int j = (0); j < (b); ++j) {
      if (((i + j + x) & 1) == 1 && t1 < (n + 1) / 2) {
        v[i][j] = t1 * 2 + 1;
        ++t1;
      }
    }
  }
  if (t0 != n / 2 || t1 != (n + 1) / 2) {
    return;
  }
  for (auto i : v) {
    for (auto j : i) {
      cout << j << " ";
    }
    cout << "\n";
  }
  exit(0);
}
int main() {
  cin >> n >> a >> b;
  solve(0);
  solve(1);
  cout << -1 << "\n";
}
