#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j, n, a, b;
  cin >> n >> a >> b;
  int arr[a][b];
  for (i = 0; i < a; i++) {
    for (j = 0; j < b; j++) arr[i][j] = -1;
  }
  int t = a * b, flag = 1;
  if (n > t)
    cout << -1;
  else {
    int x = 1;
    for (i = 0; i < a; i++) {
      for (j = 0; j < b; j++) {
        if (x > n) {
          flag = 0;
          break;
        }
        if (arr[i][j] == -1) {
          arr[i][j] = x;
          if (j + 1 < b) arr[i][j + 1] = -5;
          if (j - 1 >= 0) arr[i][j - 1] = -5;
          if (i + 1 < a) arr[i + 1][j] = -5;
          if (i - 1 >= 0) arr[i - 1][j] = -5;
          x += 2;
        }
      }
      if (!flag) break;
    }
    x = 2, flag = 1;
    for (i = 0; i < a; i++) {
      for (j = 0; j < b; j++) {
        if (x > n) {
          flag = 0;
          break;
        }
        if (arr[i][j] == -5) {
          arr[i][j] = x;
          x += 2;
        }
      }
      if (!flag) break;
    }
    for (i = 0; i < a; i++) {
      for (j = 0; j < b; j++) {
        if (arr[i][j] == -5 || arr[i][j] == -1) arr[i][j] = 0;
      }
    }
    for (i = 0; i < a; i++) {
      for (j = 0; j < b; j++) {
        printf("%d ", arr[i][j]);
      }
      printf("\n");
    }
  }
  return 0;
}
