#include <bits/stdc++.h>
using namespace std;
int A[105][105], B[105][105];
int main() {
  int n, a, b;
  cin >> n >> a >> b;
  int n1 = n;
  int cnt1 = 1;
  int cnt2 = 2;
  for (int i = 1; i <= a; i++) {
    if (i & 1) {
      for (int j = 1; j <= b; j++) {
        if ((j & 1) && cnt1 <= n) {
          A[i][j] = cnt1;
          n1--;
          cnt1 += 2;
        }
        if (!(j & 1) && cnt2 <= n) {
          A[i][j] = cnt2;
          n1--;
          cnt2 += 2;
        }
      }
    } else {
      for (int j = 1; j <= b; j++) {
        if ((j & 1) && cnt2 <= n) {
          A[i][j] = cnt2;
          n1--;
          cnt2 += 2;
        }
        if (!(j & 1) && cnt1 <= n) {
          A[i][j] = cnt1;
          n1--;
          cnt1 += 2;
        }
      }
    }
  }
  if (n1 == 0) {
    for (int i = 1; i <= a; i++) {
      for (int j = 1; j <= b; j++) cout << A[i][j] << " ";
      cout << endl;
    }
    return 0;
  }
  n1 = n;
  cnt1 = 2;
  cnt2 = 1;
  for (int i = 1; i <= a; i++) {
    if (i & 1) {
      for (int j = 1; j <= b; j++) {
        if ((j & 1) && cnt1 <= n) {
          B[i][j] = cnt1;
          n1--;
          cnt1 += 2;
        }
        if (!(j & 1) && cnt2 <= n) {
          B[i][j] = cnt2;
          n1--;
          cnt2 += 2;
        }
      }
    } else {
      for (int j = 1; j <= b; j++) {
        if ((j & 1) && cnt2 <= n) {
          B[i][j] = cnt2;
          n1--;
          cnt2 += 2;
        }
        if (!(j & 1) && cnt1 <= n) {
          B[i][j] = cnt1;
          n1--;
          cnt1 += 2;
        }
      }
    }
  }
  if (n1 == 0) {
    for (int i = 1; i <= a; i++) {
      for (int j = 1; j <= b; j++) cout << B[i][j] << " ";
      cout << endl;
    }
    return 0;
  }
  cout << -1;
  return 0;
}
