#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, b, i = 0, j = 0,
               c[100][100] =
                   {
                       0,
                   },
               k = 1;
  cin >> n >> a >> b;
  if (a * b < n) {
    cout << -1;
    return 0;
  }
  for (i = 0; i < a; i++) {
    if (i % 2 == 0)
      for (j = 0; j < b; j++) {
        c[i][j] = k;
        k++;
        if (k - 1 == n) break;
      }
    if (i % 2 == 1)
      for (j = b - 1; j > -1; j--) {
        c[i][j] = k;
        k++;
        if (k - 1 == n) break;
      }
    if (k - 1 == n) break;
  }
  for (i = 0; i < a; i++) {
    for (j = 0; j < b; j++) cout << c[i][j] << ' ';
    cout << endl;
  }
}
