#include <bits/stdc++.h>
int N, A, B, a[101][101];
int main() {
  scanf("%d%d%d", &N, &A, &B);
  if (N > A * B) {
    puts("-1");
    return 0;
  }
  for (int i = 1, x = 2, y = 1; i <= A; i++)
    for (int j = 1; j <= B; j++)
      if (i + j & 1) {
        if (x <= N) {
          a[i][j] = x;
          x += 2;
        }
      } else {
        if (y <= N) {
          a[i][j] = y;
          y += 2;
        }
      }
  for (int i = 1; i <= A; i++)
    for (int j = 1; j <= B; j++) printf("%d%c", a[i][j], " \n"[j == B]);
  return 0;
}
