#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k;
  ({
    scanf("%d", &n);
    n;
  });
  ({
    scanf("%d", &m);
    m;
  });
  ({
    scanf("%d", &k);
    k;
  });
  vector<int> emp;
  for (int i = 0; i < (int)(k); i++) {
    emp.push_back(1);
  }
  if (k == 1) {
    for (int i = n; i <= m + n; i += n - 1) {
      emp.push_back(i);
    }
  } else {
    for (int i = n; i <= m + n; i += n) {
      emp.push_back(i);
    }
    for (int i = n; i < m + n; i += n) {
      for (int j = 0; j < k - 1; j++) {
        emp.push_back(i + 1);
      }
    }
  }
  int size = emp.size();
  ({
    printf("%d", size);
    size;
  });
  cout << endl;
  for (int i = 0; i < (int)(size); i++) {
    ({
      printf("%d", emp[i]);
      emp[i];
    });
    cout << " ";
  }
  return 0;
}
