#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k;
  cin >> n >> m >> k;
  vector<int> res;
  int ret(n + m + 1), cur = n + 1;
  if (k == 1) {
    int c = n;
    while (c < ret) {
      res.push_back(c);
      c += n - 1;
    }
  } else
    while (cur < ret) {
      res.push_back(cur - 1);
      for (int i = 0; i < k - 1; ++i) res.push_back(cur);
      cur += n;
      if (cur == ret) res.push_back(cur - 1);
    }
  cout << res.size() + k << endl;
  while (k--) cout << "1 ";
  for (int i = 0; i < res.size(); ++i) cout << res[i] << " ";
  return 0;
}
