#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, r, c;
  cin >> n >> r >> c;
  vector<vector<int> > board(r, vector<int>(c, 0));
  int k = 1;
  for (int i = 0; i < r && k <= n; ++i) {
    for (int j = 0; j < c && k <= n; ++j) {
      if ((i + j) % 2 == 0) {
        board[i][j] = k;
        k += 2;
      }
    }
  }
  if (k <= n) {
    cout << -1 << endl;
    return 0;
  }
  k = 2;
  for (int i = 0; i < r && k <= n; ++i) {
    for (int j = 0; j < c && k <= n; ++j) {
      if ((i + j) % 2 == 1) {
        board[i][j] = k;
        k += 2;
      }
    }
  }
  for (int i = 0; i < r; ++i) {
    for (int j = 0; j < c; ++j) {
      cout << board[i][j] << ' ';
    }
    cout << endl;
  }
}
