#include <bits/stdc++.h>
using namespace std;
int t[101][101];
int main() {
  int n, a, b;
  cin >> n >> a >> b;
  if (n > a * b) {
    cout << -1;
    return 0;
  }
  int ind = 0;
  for (int i = 0; i < a; i++)
    if (i % 2 == 0)
      for (int j = 0; j < b; j++) t[i][j] = ++ind;
    else
      for (int j = b - 1; j >= 0; --j) t[i][j] = ++ind;
  for (int i = 0; i < a; i++) {
    for (int j = 0; j < b; j++) {
      if (t[i][j] > n) t[i][j] = 0;
      cout << t[i][j] << ' ';
    }
    cout << "\n";
  }
  return 0;
}
