#include <bits/stdc++.h>
using namespace std;
const int BigInt = 2000 * 1000 * 1000;
long long l, r, k;
long long ans = 1ll << 60;
vector<long long> ansVector;
void bruteforce(long long number, long long sum,
                const vector<long long>& elems) {
  if (number > r) {
    if (1 <= elems.size() && elems.size() <= k) {
      if (sum < ans) {
        ans = sum;
        ansVector = elems;
      }
    }
    return;
  }
  bruteforce(number + 1, sum, elems);
  vector<long long> elemsAndCur = elems;
  elemsAndCur.push_back(number);
  bruteforce(number + 1, sum ^ number, elemsAndCur);
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cin >> l >> r >> k;
  if (k == 3) {
    for (int b1 = 0; b1 < 60; ++b1) {
      long long low = (1ll << (b1 + 1)) - 1;
      long long high = (3ll << b1);
      if ((l <= low && low <= r) && (l <= high && high <= r)) {
        long long middle = low ^ high;
        cout << 0 << endl;
        cout << 3 << endl;
        cout << low << ' ' << high << ' ' << middle << endl;
        return 0;
      }
    }
  }
  r = min(r, l + 7);
  vector<long long> elems;
  bruteforce(l, 0, elems);
  cout << ans << endl;
  cout << ansVector.size() << endl;
  for (long long v : ansVector) cout << v << ' ';
  cout << endl;
  return 0;
}
