#include <bits/stdc++.h>
using namespace std;
template <class T>
T inline sqr(T x) {
  return x * x;
}
const long double pi = 3.1415926535897932384626433832795;
const long double eps = 1e-8;
const int N = 110;
int w[N][N];
void NO() {
  puts("-1");
  exit(0);
}
int main() {
  ios::sync_with_stdio(false);
  int n, a, b;
  cin >> n >> a >> b;
  int odd = 1, even = 2;
  for (int i = 0; i < (int)(a); ++i)
    for (int j = 0; j < (int)(b); ++j) {
      int c = i + j;
      if (c & 1) {
        if (even <= n) {
          w[i][j] = even;
          even += 2;
        }
      } else {
        if (odd <= n) {
          w[i][j] = odd;
          odd += 2;
        }
      }
    }
  if (odd <= n || even <= n) NO();
  for (int i = 0; i < (int)(a); ++i) {
    for (int j = 0; j < (int)(b); ++j) cout << w[i][j] << " ";
    cout << "\n";
  }
  return 0;
}
