#include <bits/stdc++.h>
using namespace std;
int arr[100005];
int NewDay[100005];
int sol[100005];
int n, m, k, ans = 0;
void add(int x, int amount) {
  sol[x] += amount;
  ans += amount;
  int st = x, en = x + n - 1;
  while (st < 100005) {
    NewDay[st] += amount;
    for (int i = st; i <= min(en, 100004); i++) arr[i] += amount;
    st += n + m;
    en += n + m;
  }
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  cin >> n >> m >> k;
  add(1, k);
  for (int i = 2; i < 100005; i++) {
    if (NewDay[i] == arr[i]) {
      add(i - 1, 1);
    }
    if (arr[i] < k) {
      add(i, k - arr[i]);
    }
  }
  cout << ans << '\n';
  for (int i = 1; i < 100005; i++) {
    while (sol[i]) {
      cout << i << ' ';
      sol[i]--;
    }
  }
  return 0;
}
