#include <bits/stdc++.h>
using namespace std;
int n, a, b, s = 1, d = 2, q[105][105];
int main() {
  ios_base::sync_with_stdio(false);
  cin >> n >> a >> b;
  for (int i = 1; i <= a; ++i) {
    for (int j = 1; j <= b; ++j) {
      q[i][j] = 0;
      if ((i + j) % 2 == 0) {
        if (s <= n) {
          q[i][j] = s;
          s += 2;
        }
      }
      if ((i + j) % 2 == 1) {
        if (d <= n) {
          q[i][j] = d;
          d += 2;
        }
      }
    }
  }
  if (s <= n || d <= n) {
    cout << "-1" << endl;
    return 0;
  }
  for (int i = 1; i <= a; ++i) {
    for (int j = 1; j <= b; ++j) {
      cout << q[i][j] << " ";
    }
    cout << endl;
  }
  return 0;
}
