#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a, b;
  cin >> a >> b;
  int arr[a][b];
  for (int i = 0; i < a; i++) {
    for (int j = 0; j < b; j++) {
      arr[i][j] = 0;
    }
  }
  int totCh = a * b;
  if (totCh < n) {
    cout << -1 << endl;
  } else {
    int i = 1;
    for (int j = 0; j < a; j++) {
      if (j % 2 == 0) {
        for (int k = 0; k < b; k++) {
          arr[j][k] = i;
          i++;
          if (i > n) {
            j = a;
            break;
          }
        }
      } else {
        for (int k = b - 1; k >= 0; k--) {
          arr[j][k] = i;
          i++;
          if (i > n) {
            j = a;
            break;
          }
        }
      }
    }
    for (int i = 0; i < a; i++) {
      for (int j = 0; j < b; j++) {
        cout << arr[i][j] << " ";
      }
      cout << endl;
    }
  }
  return 0;
}
