#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  int n, a, b;
  cin >> n >> a >> b;
  if (n > a * b) {
    cout << "-1\n";
    return 0;
  }
  int odd = 1, even = 2;
  for (int i = 0; i < a; ++i)
    for (int j = 0; j < b; ++j) {
      int& cur = ((i + j & 1) ? even : odd);
      cout << (cur > n ? 0 : cur) << " \n"[j + 1 == b];
      cur += 2;
    }
  42;
  return 0;
}
