#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, b;
  cin >> n >> a >> b;
  if (n > a * b) {
    cout << -1 << endl;
    return 0;
  }
  vector<vector<int> > arr(a, vector<int>(b));
  vector<int> parity(2);
  parity[0] = 1;
  parity[1] = 2;
  for (int i = 0; i < a; i++) {
    for (int j = 0; j < b; j++) {
      int idx = (i + j) % 2;
      if (parity[idx] <= n) {
        arr[i][j] = parity[idx];
        parity[idx] += 2;
      }
    }
  }
  for (int i = 0; i < a; i++) {
    for (int j = 0; j < b; j++) {
      cout << arr[i][j] << " ";
    }
    cout << endl;
  }
  return 0;
}
