#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, b;
  cin >> n >> a >> b;
  if (a * b < n) {
    cout << -1 << endl;
  } else {
    int id = 1;
    vector<vector<int> > mat(a, vector<int>(b, 0));
    for (int i = 0; i < a; ++i) {
      int j = ((i & 1) ? 0 : b - 1);
      int to = ((i & 1) ? b : -1);
      int inc = ((i & 1) ? 1 : -1);
      while (j != to) {
        mat[i][j] = (id > n ? 0 : id++);
        j += inc;
      }
    }
    for (int i = 0; i < a; ++i) {
      for (int j = 0; j < b; ++j) {
        cout << (j ? " " : "") << mat[i][j];
      }
      cout << endl;
    }
  }
}
