#include <bits/stdc++.h>
using namespace std;
int arr[105][105];
int main() {
  vector<int> irr;
  vector<int> err;
  int n, a, b;
  cin >> n >> a >> b;
  int t = 0;
  if (((a * b) - n) >= 0)
    t = (a * b) - n;
  else {
    cout << -1;
    return 0;
  }
  for (int i = 1; i <= n; i++) {
    if (i % 2 == 0)
      irr.push_back(i);
    else
      err.push_back(i);
  }
  for (int i = 0; i < t + 10; i++) {
    irr.push_back(0);
    err.push_back(0);
  }
  int cuenta = 0;
  int count = 0;
  for (int i = 0; i < a; i++) {
    for (int j = 0; j < b; j++) {
      if (i % 2 == 0 && j % 2 == 0) {
        arr[i][j] = err[cuenta];
        cuenta++;
      } else if (i % 2 == 0 && j % 2 != 0) {
        arr[i][j] = irr[count];
        count++;
      } else if (i % 2 != 0 && j % 2 == 0) {
        arr[i][j] = irr[count];
        count++;
      } else if (i % 2 != 0 && j % 2 != 0) {
        arr[i][j] = err[cuenta];
        cuenta++;
      }
    }
  }
  for (int i = 0; i < a; i++) {
    for (int j = 0; j < b; j++) {
      cout << arr[i][j] << " ";
    }
    cout << endl;
  }
}
