#include <bits/stdc++.h>
using namespace std;
const int MAX = 1e4 + 5;
int workers[MAX];
int n, m, k;
int main() {
  ios_base::sync_with_stdio(false);
  cin >> n >> m >> k;
  vector<int> people;
  int ret = n + m + 1;
  for (int i = int(1); i < int(n + 1); i++) {
    workers[i] = k;
  }
  for (int i = int(1); i < int(k + 1); i++) {
    people.push_back(1);
  }
  for (int j = int(2); j < int(ret); j++) {
    while (workers[j] < k) {
      people.push_back(j);
      for (int f = int(j); f < int(j + n); f++) {
        workers[f]++;
      }
    }
    if (workers[j] == k && workers[j + 1] == 0) {
      people.push_back(j);
      for (int f = int(j); f < int(j + n); f++) {
        workers[f]++;
      }
    }
  }
  cout << people.size() << '\n';
  for (auto &each : people) {
    cout << each << " ";
  }
  cout << '\n';
  return 0;
}
