#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long int n, m, k;
  cin >> n >> m >> k;
  vector<long long int> ans;
  if (k > 1) {
    long long int last = 0;
    for (long long int i = 0; i < k; i++) {
      ans.push_back(0);
    }
    last = n - 1;
    for (long long int i = 1; i < n + m; i++) {
      if (i == last) {
        ans.push_back(i);
      } else if (i == last + 1) {
        for (long long int j = 0; j < k - 1; j++) ans.push_back(i);
        last = i + n - 1;
      }
    }
  } else {
    ans.push_back(0);
    long long int last = n - 1;
    for (long long int i = 1; i < n + m; i++) {
      if (i == last) {
        ans.push_back(i);
        last = i + n - 1;
      }
    }
  }
  cout << ans.size() << "\n";
  for (auto i : ans) cout << i + 1 << " ";
  return 0;
}
