#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k, i, j;
  int nombre[2011], combien = 0, arajouter;
  int engage[2011];
  cin >> n >> m >> k;
  for (i = 1; i <= n + m + 1; i++) {
    nombre[i] = 0;
  }
  for (i = 1; i <= n + m; i++) {
    engage[i] = 0;
    if (nombre[i] < k) {
      engage[i] = k - nombre[i];
    }
    if (engage[i] == 0 && nombre[i + 1] == 0) engage[i] = 1;
    for (j = i; j <= min(i + n - 1, n + m + 1); j++) {
      nombre[j] += engage[i];
    }
    combien += engage[i];
  }
  printf("%d\n", combien);
  for (i = 1; i <= n + m; i++) {
    for (j = 0; j < engage[i]; j++) {
      if (i - 1 || j) printf(" ");
      printf("%d", i);
    }
  }
  printf("\n");
  return 0;
}
