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