#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  int n, m, k;
  cin >> n >> m >> k;
  int cnt = 0;
  vector<int> answer;
  vector<pair<int, int>> v;
  for (int i = 1; i <= n + m; ++i) {
    for (auto it : v) {
      if (it.first + n + m == i) {
        cnt += it.second;
        it.first = i;
      }
    }
    if (cnt < k) {
      v.push_back({i, k - cnt});
      while (cnt < k) {
        cnt++;
        answer.push_back(i);
      }
    }
    for (auto it : v) {
      if (it.first + n - 1 == i) {
        cnt -= it.second;
      }
    }
    if (cnt == 0) {
      answer.push_back(i);
      v.push_back({i, 1});
      cnt++;
    }
  }
  cout << answer.size() << endl;
  for (auto &it : answer) cout << it << " ";
}
