#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9 + 7;
const long long MX = 1e9;
const long long INF = 1e9;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n, m, k;
  cin >> n >> m >> k;
  vector<int> ans;
  int c, c1, d;
  for (int i = 1; i < 4 * n; ++i) {
    c = 0;
    c1 = 0;
    for (int b : ans) {
      d = (i - b) % (n + m);
      if (d < n) ++c;
      if (d == n - 1) ++c1;
    }
    if (c < k) {
      c = k - c;
      for (int j = 0; j < c; ++j) ans.push_back(i);
    } else if (c == c1)
      ans.push_back(i);
  }
  cout << ans.size() << '\n';
  for (int b : ans) cout << b << ' ';
  cout << '\n';
  return 0;
}
