#include <bits/stdc++.h>
using namespace std;
long long l, r, k;
long long sol_value;
vector<long long> sol;
void chkans(vector<long long> vec) {
  long long v = 0;
  for (auto x : vec) {
    v ^= x;
  }
  if (v <= sol_value) {
    if (v == sol_value && vec[0] != sol[0] && vec[1] != sol[0] &&
        (int)(vec.size() + sol.size()) <= k) {
      sol_value = 0;
      sol.push_back(vec[0]);
      sol.push_back(vec[1]);
    } else if (v < sol_value) {
      sol_value = v;
      sol = vec;
    }
  }
}
int main() {
  cin >> l >> r >> k;
  int len = min(r - l + 1, 10ll);
  if (k == 1) {
    sol_value = l;
    sol = vector<long long>{l};
  } else {
    sol_value = l;
    sol = vector<long long>{l};
    for (int i = 0; i < len - 1; i++) {
      chkans(vector<long long>{l + i, l + i + 1});
    }
    if (k >= 3) {
      long long x = l;
      long long high = 0;
      for (int i = 50; i >= 0; i--) {
        if (x & (1ll << i)) {
          high = (1ll << i);
          break;
        }
      }
      long long a = l;
      long long c = high * 3;
      long long b = a ^ c;
      if (c <= r) {
        sol_value = a ^ b ^ c;
        sol = vector<long long>{a, b, c};
      }
    }
  }
  cout << sol_value << endl;
  cout << sol.size() << endl;
  for (auto v : sol) cout << v << " ";
  cout << endl;
  return 0;
}
