#include <bits/stdc++.h>
using namespace std;
const int M = 1e9 + 7;
const int N = 2e5 + 10;
int mp[101][101];
int main() {
  int i, j;
  int n, a, b;
  cin >> n >> a >> b;
  int index = 1;
  if (b & 1) {
    for (i = 0; i < a; ++i) {
      for (j = 0; j < b; ++j) {
        if (index <= n) {
          mp[i][j] = index;
          ++index;
        }
      }
    }
  } else {
    bool flag = true;
    for (i = 0; i < a; ++i) {
      if (flag) {
        for (j = 0; j < b; ++j) {
          if (index <= n) {
            mp[i][j] = index;
            ++index;
          }
        }
      } else {
        for (j = b - 1; j >= 0; --j) {
          if (index <= n) {
            mp[i][j] = index;
            ++index;
          }
        }
      }
      flag = !flag;
    }
  }
  if (index <= n) {
    cout << -1 << endl;
    return 0;
  }
  for (i = 0; i < a; ++i) {
    for (j = 0; j < b; ++j) {
      printf("%d ", mp[i][j]);
    }
    printf("\n");
  }
  return 0;
}
