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