#include <bits/stdc++.h>
using namespace std;
int mass[200][200];
int main() {
  int n, a, b;
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cin >> n >> a >> b;
  if (a * b < n) {
    cout << -1;
    return 0;
  }
  int cur = 0;
  for (int i = 0; i < a; i++) {
    for (int j = 0; j < b; j++) {
      mass[i][j] = ++cur;
      if (cur == n) {
        break;
      }
    }
    if (b % 2 == 0 && i % 2) {
      for (int j = 0; j < n; j += 2) {
        swap(mass[i][j], mass[i][j + 1]);
      }
    }
    if (cur == n) {
      break;
    }
  }
  for (int i = 0; i < a; i++) {
    for (int j = 0; j < b; j++) {
      cout << mass[i][j] << " ";
    }
    cout << endl;
  }
  return 0;
}
