#include <bits/stdc++.h>
using namespace std;
long long l, r, k;
void f() {
  vector<long long> o;
  long long va = -1;
  int len = min((long long)(r - l + 1), 8LL);
  for (int i = 1; i < (1 << len); ++i) {
    int tmp = 0;
    for (int j = 0; j < len; ++j) tmp += bool((1 << j) & i);
    if (tmp > k) continue;
    long long s = 0;
    vector<long long> c;
    for (int j = 0; j < len; ++j) {
      if ((1 << j) & i) {
        s ^= l + j;
        c.push_back(l + j);
      }
    }
    if (va == -1 || va > s) va = s, o = c;
  }
  cout << va << endl;
  cout << int(o.size()) << endl;
  for (int j = 0; j < int(o.size()); ++j) {
    cout << o[j] << " ";
  }
}
int getTop(long long x) {
  for (int i = 60; i >= 0; --i) {
    if (x & (1LL << i)) return i;
  }
}
int main() {
  cin >> l >> r >> k;
  long long len = r - l + 1;
  if (k >= 5 || (k == 4 && (l % 2 == 0 || len > 4))) {
    if (l & 1) ++l;
    puts("0\n4");
    int t = 4;
    while (t--) {
      cout << (l++) << " ";
    }
    return 0;
  }
  if (k == 4) {
    f();
    return 0;
  }
  if (k == 3) {
    int top = getTop(l);
    long long x = (1LL << top) ^ (1LL << (top + 1));
    if (x <= r) {
      long long o = l ^ (1LL << top) ^ (1LL << (top + 1));
      puts("0\n3");
      { cout << l << " " << o << " " << x; }
    } else {
      f();
    }
    return 0;
  }
  f();
  return 0;
}
