#include <bits/stdc++.h>
using namespace std;
int n, m, k;
int c[100000], d[10001];
int res;
int main() {
  cin >> n >> m >> k;
  int i;
  for (i = 1; i <= n; i++) c[i] = k;
  for (i = 1; i <= k; i++) d[++res] = 1;
  for (i = n + 1; i <= n + m + 1; i++) {
    int j;
    if (i == n + m + 1) k = 1;
    while (c[i] < k)
      if (c[i] == 0) {
        d[++res] = i - 1;
        for (j = i - 1; j <= i + n - 2; j++) ++c[j];
      } else {
        d[++res] = i;
        for (j = i; j <= i + n - 1; j++) ++c[j];
      }
  }
  cout << res << endl;
  for (i = 1; i <= res; i++) cout << d[i] << " ";
}
