#include <bits/stdc++.h>
using namespace std;
int a[105][105];
int main() {
  int i, j, n, col, row;
  scanf("%d%d%d", &n, &row, &col);
  if (n > row * col) {
    printf("-1\n");
    return 0;
  }
  int odd = 1, even = 2;
  for (i = 1; i <= row; i++) {
    for (j = 2 - i % 2; j <= col && odd <= n; j += 2) {
      a[i][j] = odd;
      odd += 2;
    }
  }
  for (i = 1; i <= row; i++) {
    for (j = 1 + i % 2; j <= col && even <= n; j += 2) {
      a[i][j] = even;
      even += 2;
    }
  }
  for (i = 1; i <= row; i++) {
    for (j = 1; j <= col; j++) {
      printf("%d ", a[i][j]);
    }
    printf("\n");
  }
  return 0;
}
