#include <bits/stdc++.h>
using namespace std;
int n;
int main() {
  long long l, r, k;
  scanf("%lld", &l);
  scanf("%lld", &r);
  scanf("%lld", &k);
  if (k == 1) {
    cout << l << endl;
    cout << 1 << endl;
    cout << l << endl;
    return 0;
  }
  long long b, e;
  b = ceil(l / 4.0);
  e = r / 4;
  if (e > b) {
    if (k >= 4) {
      long long start = 4 * b;
      cout << 0 << endl
           << 4 << endl
           << (start) << " " << (start + 1) << " " << (start + 2) << " "
           << (start + 3) << " ";
      return 0;
    } else if (k == 3) {
      long long x = 0, y = 0, z = 0;
      long long a = l;
      long long b = r;
      long long mn = 1;
      long long mx = 3;
      while (mx <= b) {
        if (mn >= a) {
          cout << 0 << endl;
          cout << 3 << endl;
          cout << mn << " " << mx - 1 << " " << mx << endl;
          return 0;
        }
        mn <<= 1;
        mn++;
        mx <<= 1;
      }
      b = ceil(l / 4.0);
      long long start = 4 * b;
      cout << 1 << endl << 2 << endl << (start) << " " << (start + 1) << " ";
    } else if (k == 2) {
      long long start = 4 * b;
      cout << 1 << endl << 2 << endl << (start) << " " << (start + 1);
    }
  } else {
    int q = r - l + 1;
    long long mini = (long long)1e18, bit = 1;
    for (int i = 1; i < (1 << q); i++) {
      if (__builtin_popcount(i) > k) continue;
      int temp = i;
      long long val = 0;
      for (int j = 0; j < 30; j++) {
        if (((i >> j) & 1)) {
          val = val ^ (l + j);
        }
      }
      if (mini > val) {
        mini = val;
        bit = i;
      }
    }
    cout << mini << endl;
    cout << __builtin_popcount(bit) << endl;
    for (int j = 0; j < 30; j++) {
      if (((bit >> j) & 1)) {
        cout << (l + j) << " ";
      }
    }
  }
}
