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