#include <bits/stdc++.h>
using namespace std;
int ss[4000], tt[4000];
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  cout.tie(NULL);
  int m, n, kk;
  cin >> m >> n >> kk;
  memset(tt, 0, sizeof(tt));
  memset(ss, 0, sizeof(ss));
  int mn = m + n;
  int p = mn;
  int i, j, k = 0;
  while (tt[1] < kk) {
    ss[k++] = 1, tt[1]++;
  }
  for (j = 2; j <= p + 1; j++)
    if ((j - 1) % mn < m) tt[j] = tt[1];
  for (i = 2; i <= p; i++) {
    int ff = 0;
    if (tt[i] == 0) {
      i--;
      ff++;
      tt[i]++;
      ss[k++] = i;
    }
    while (tt[i] < kk) {
      ss[k++] = i, tt[i]++;
      ff++;
    }
    if (ff)
      for (j = i + 1; j <= p + 1; j++)
        if ((j - i) % mn < m) tt[j] += ff;
  }
  if (tt[p + 1] == tt[1]) ss[k++] = p;
  cout << k << "\n" << ss[0] << " ";
  for (i = 1; i < k; i++) cout << ss[i] << " ";
  cout << "\n";
  return 0;
}
