#include <bits/stdc++.h>
using namespace std;
const double EPS = (1e-7);
int dcmp(double x, double y) { return fabs(x - y) <= EPS ? 0 : x < y ? -1 : 1; }
long long gcd(long long a, long long b) { return (b == 0 ? a : gcd(b, a % b)); }
long long lcm(long long a, long long b) { return (a * (b / gcd(a, b))); }
bool in_range(int i, int j, int n, int m) {
  return i >= 0 && i < n && j >= 0 && j < m;
}
int arr[111][111];
void solution() {
  int n, a, b;
  cin >> n >> a >> b;
  if (n > a * b) {
    cout << -1;
    return;
  }
  int i = 0, j = 0, r = 1, x = 1;
  while (x <= n) {
    if (j == b)
      r ^= 1, j--, i++;
    else if (j == -1)
      r ^= 1, j++, i++;
    arr[i][j] = x++;
    r ? j++ : j--;
  }
  for (int i = 0; i < int(a); i++) {
    for (int j = 0; j < int(b - 1); j++) cout << arr[i][j] << " ";
    cout << arr[i][b - 1] << endl;
  };
}
int main() {
  ios::sync_with_stdio(false);
  solution();
  return 0;
}
