#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k;
  scanf("%d %d %d", &n, &m, &k);
  vector<int> dates;
  queue<int> employees;
  for (int i = 0; i < n + m; i++) {
    while (employees.size() < k) {
      employees.push(i);
      dates.push_back(i);
    }
    while (!employees.empty() && employees.front() + n - 1 <= i) {
      employees.pop();
    }
    if (employees.empty()) {
      employees.push(i);
      dates.push_back(i);
    }
  }
  printf("%d\n", dates.size());
  for (int i = 0; i < dates.size(); i++) {
    printf("%d ", dates[i] + 1);
  }
}
