#include <bits/stdc++.h>
using namespace std;
template <class Ta, class Tb>
inline Tb cast(Ta a) {
  stringstream ss;
  ss << a;
  Tb b;
  ss >> b;
  return b;
};
const double EPS = 1e-9;
const int INF = 1000000000;
const int MOD = 1000000007;
const int diri[8] = {-1, 0, 1, 0, -1, 1, 1, -1};
const int dirj[8] = {0, 1, 0, -1, 1, 1, -1, -1};
int main() {
  int n, m, k;
  cin >> n >> m >> k;
  if (k == 1) {
    int r = 1 + (m + n - 1) / (n - 1);
    cout << r << endl;
    cout << 1;
    for (int i = 0; i < r - 1; ++i) cout << " " << n + i * (n - 1);
    cout << endl;
  } else {
    int r = k + k * ((m + n - 1) / n) + (m % n == 0 ? 1 : 0);
    cout << r << endl;
    for (int i = 0; i < k; ++i) {
      if (i) cout << " ";
      cout << 1;
    }
    for (int i = 0; i < (m + n - 1) / n; ++i) {
      cout << " " << n + i * n;
      for (int j = 0; j < k - 1; ++j) cout << " " << n + i * n + 1;
    }
    if (m % n == 0) cout << " " << n + m;
    cout << endl;
  }
}
