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