#include <bits/stdc++.h>
using namespace std;
const int maxa = 100;
const int maxb = 100;
int mat[maxa][maxb];
int main() {
  int n, a, b, odd = 1, even = 2;
  scanf("%d%d%d", &n, &a, &b);
  if (a * b < n) {
    printf("-1\n");
    return 0;
  }
  for (int i = 0; i < a; i++)
    for (int j = 0; j < b; j++) {
      if ((i % 2 == 0 && j % 2 == 0) || (i % 2 == 1 && j % 2 == 1)) {
        if (odd <= n) {
          mat[i][j] = odd;
          odd += 2;
        }
      } else {
        if (even <= n) {
          mat[i][j] = even;
          even += 2;
        }
      }
    }
  for (int i = 0; i < a; i++)
    for (int j = 0; j < b; j++)
      printf("%d%c", mat[i][j], j == b - 1 ? '\n' : ' ');
}
