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