#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  int n, m, k;
  cin >> n >> m >> k;
  if (k > 1) {
    if (m == n) {
      cout << 2 * k + 1 << endl;
      for (int i = (int)(1); i < ((int)k + 1); i++) {
        cout << 1 << " ";
      }
      cout << n << " ";
      for (int i = (int)(1); i < ((int)k); i++) {
        cout << n + 1 << " ";
      }
      cout << n + m << endl;
    } else {
      cout << 2 * k << endl;
      for (int i = (int)(1); i < ((int)k + 1); i++) {
        cout << 1 << " ";
      }
      cout << n << " ";
      for (int i = (int)(1); i < ((int)k); i++) {
        cout << n + 1 << " ";
      }
      cout << endl;
    }
  } else {
    if (m + 2 <= n) {
      cout << 2 << endl;
      cout << 1 << " " << n << endl;
    } else {
      if (n == 2 and m == 2) {
        cout << 4 << endl;
        cout << "1 2 3 4" << endl;
      } else {
        cout << 3 << endl;
        cout << 1 << " " << n << " " << 2 * n - 1 << endl;
      }
    }
  }
  return 0;
}
