#include <bits/stdc++.h>
using namespace std;
int N, R, C, g[110][110];
vector<int> A, B;
int main() {
  scanf("%d %d %d", &N, &R, &C);
  for (int i = 1; i <= (N); i++) {
    if (i & 1)
      A.push_back(i);
    else
      B.push_back(i);
  }
  for (int r = 1; r <= (R); r++)
    for (int c = 1; c <= (C); c++) {
      if ((r + c) % 2 == 0 && A.size()) g[r][c] = A.back(), A.pop_back();
      if ((r + c) % 2 == 1 && B.size()) g[r][c] = B.back(), B.pop_back();
    }
  if (A.size() || B.size())
    puts("-1");
  else {
    for (int r = 1; r <= (R); r++) {
      for (int c = 1; c <= (C); c++) printf("%d ", g[r][c]);
      puts("");
    }
  }
  return 0;
}
