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