#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  while (scanf("%d%d%d", &a, &b, &c) != EOF) {
    int l;
    if (c != 1) {
      l = (a + b) / a * c;
      if (!((a + b) % a))
        l++;
      else
        l += c;
    } else
      l = (a + b - 1) / (a - 1) + 1;
    printf("%d\n", l);
    for (int i = (0); i < (c); i++) {
      if (i) printf(" ");
      printf("1");
    }
    l -= c;
    int n = a;
    while (l) {
      printf(" %d", n);
      l--;
      if (l) {
        for (int i = (0); i < (c - 1); i++) printf(" %d", n + 1);
        if (c - 1)
          n += a;
        else
          n += a - 1;
        l -= c - 1;
      }
    }
    printf("\n");
  }
  return 0;
}
