#include <bits/stdc++.h>
int main() {
  int n, a, b, c[100][100] = {0}, i, j, k = 0, l;
  scanf("%d %d %d", &n, &a, &b);
  if (n > a * b) {
    printf("-1");
    return 0;
  }
  if (b % 2 == 0) {
    for (i = 0; i <= a - 1; i++) {
      for (j = 0; j <= b - 1; j++) {
        if ((i + 1) % 2 == 0) {
          l--;
          if (l > n) continue;
          c[i][j] = l;
        } else {
          if (1 + i + j + k > n) break;
          c[i][j] = 1 + i + j + k;
          l = c[i][j] + b + 1;
        }
      }
      if (1 + i + j + k > n) break;
      k += b - 1;
    }
    for (i = 0; i <= a - 1; i++) {
      for (j = 0; j <= b - 1; j++) {
        printf("%d ", c[i][j]);
      }
      printf("\n");
    }
  } else {
    for (i = 0; i <= a - 1; i++) {
      for (j = 0; j <= b - 1; j++) {
        if (1 + i + j + k <= n) c[i][j] = 1 + i + j + k;
        printf("%d ", c[i][j]);
      }
      printf("\n");
      k += b - 1;
    }
  }
  return 0;
}
