#include <bits/stdc++.h>
using namespace std;
int main() {
  std::ios::sync_with_stdio(false);
  cin.tie(0);
  int n, a, b;
  cin >> n >> a >> b;
  if (n > a * b) {
    cout << -1;
    return 0;
  }
  int peeps = 0;
  int demidx = 1;
  int repidx = 2;
  vector<vector<int>> m(a, vector<int>(b));
  for (int row = 0; row < a; row++) {
    for (int col = 0; col < b; col++) {
      bool demAbove = row == 0 ? false : m[row - 1][col] % 2;
      bool demLeft = col == 0 ? false : m[row][col - 1] % 2;
      if (!demAbove && demidx <= n && !demLeft) {
        m[row][col] = demidx;
        demidx += 2;
      } else if (repidx <= n) {
        m[row][col] = repidx;
        repidx += 2;
      }
    }
  }
  if (demidx <= n || repidx <= n) {
    cout << -1;
    return 0;
  }
  for (auto v : m) {
    for (auto a : v) {
      cout << a << " ";
    }
    cout << endl;
  }
}
