#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  int n, a, b;
  cin >> n >> a >> b;
  if (n > a * b) {
    cout << "-1" << endl;
    return 0;
  }
  int counto = 1;
  int counte = 2;
  for (int i = 0; i < a; i++) {
    for (int j = 0; j < b; j++) {
      if (((i % 2 == 0 && j % 2 == 0) || (i % 2 == 1 && j % 2 == 1)) &&
          (counto <= n)) {
        cout << counto << " ";
        counto += 2;
      } else if (counte <= n) {
        cout << counte << " ";
        counte += 2;
      } else
        cout << 0 << " ";
    }
    cout << endl;
  }
  return 0;
}
