#include <bits/stdc++.h>
using namespace std;
unsigned int v[100][100];
int main(int argc, char* argv[]) {
  unsigned int n, a, b;
  cin >> n >> a >> b;
  if (a * b < n)
    cout << "-1\n";
  else {
    unsigned int d = 1;
    for (unsigned int i = 0; i < a && d <= n; ++i) {
      unsigned int st = i & 1 ? b - 1 : 0, fn = i & 1 ? -1 : b,
                   q = i & 1 ? -1 : 1;
      for (unsigned int j = st; j != fn && d <= n; j += q) {
        v[i][j] = d;
        ++d;
      }
    }
    for (unsigned int i = 0; i < a; ++i) {
      cout << v[i][0];
      for (unsigned int j = 1; j < b; ++j) cout << ' ' << v[i][j];
      cout << '\n';
    }
  }
  return 0;
}
