#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k, ans = 1;
  cin >> n >> m >> k;
  if (k == 1) {
    for (int i = 1;;) {
      ans++;
      i += n - 1;
      if (i - 1 > m) break;
    }
    cout << ans << endl;
    for (int i = 0; i < ans; i++) {
      cout << (n - 1) * i + 1 << " ";
    }
  } else {
    if (m % n == 0)
      ans = k + (k - 1) * m / n + (m / n + 1);
    else
      ans = k + (m / n + 1) * (k);
    cout << ans << endl;
    for (int i = 0; i < k; i++) cout << 1 << " ";
    if (m % n != 0) {
      for (int i = 0; i < m; i += n) {
        cout << n + i << " ";
        for (int j = 0; j < k - 1; j++) cout << n + i + 1 << " ";
      }
    } else {
      for (int i = 0; i <= m; i += n) {
        cout << n + i << " ";
        for (int j = 0; j < k - 1; j++) {
          if (i != m) cout << n + i + 1 << " ";
        }
      }
    }
  }
  return 0;
}
