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