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