#include <bits/stdc++.h>
using namespace std;
int m[110][110];
int main() {
  int n, a, b;
  while (cin >> n >> a >> b) {
    if (n > a * b) {
      cout << "-1" << endl;
      continue;
    }
    memset(m, 0, sizeof(m));
    int cnt = 0;
    for (int i = 1; i <= a && cnt != n; ++i) {
      if (i & 1) {
        for (int j = 1; j <= b && cnt != n; ++j) {
          m[i][j] = ++cnt;
        }
      } else {
        for (int j = b; j >= 1 && cnt != n; --j) {
          m[i][j] = ++cnt;
        }
      }
    }
    for (int i = 1; i <= a; ++i) {
      for (int j = 1; j <= b; ++j) {
        if (j != 1) printf(" ");
        printf("%d", m[i][j]);
      }
      puts("");
    }
  }
  return 0;
}
