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