#include <bits/stdc++.h>
using namespace std;
int n, a, b;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> a >> b;
  int canForOdd = ceil((a * b) / 2.0);
  if (canForOdd >= (n + 1) / 2) {
    int parity = 1;
    int rw = 0;
    int cl = 0;
    int lastRowParity = 1;
    int odd = 1;
    int even = 2;
    while ((rw != a)) {
      if (cl == b) {
        cout << "\n";
        cl = 0;
        rw++;
        parity = lastRowParity ^ 1;
        lastRowParity = parity;
        continue;
      }
      if (parity) {
        if (cl == 0)
          cout << ((odd > n) ? 0 : odd);
        else
          cout << " " << ((odd > n) ? 0 : odd);
        odd += 2;
      } else {
        if (cl == 0)
          cout << ((even > n) ? 0 : even);
        else
          cout << " " << ((even > n) ? 0 : even);
        even += 2;
      }
      cl++;
      parity ^= 1;
    }
  } else
    cout << "-1\n";
  return 0;
}
