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