#include <bits/stdc++.h>
#pragma warning(disable : 4996)
using namespace std;
int p, n, m;
int a[200][200];
int main() {
  int i, j, k;
  cin >> p >> n >> m;
  if (p > n * m) return !printf("-1");
  int now = 1;
  for (i = 0; i < n; i++) {
    if (i % 2 == 0) {
      for (j = 0; j < m && now <= p; j++) a[i][j] = now++;
    } else {
      for (j = m - 1; j >= 0 && now <= p; j--) a[i][j] = now++;
    }
  }
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) printf("%d ", a[i][j]);
    printf("\n");
  }
  return 0;
}
