#include <bits/stdc++.h>
using namespace std;
int main() {
  long long l, r, k, i;
  cin >> l >> r >> k;
  if (k > 4 || (k == 4 && (r - l > 3 || l % 2 == 0))) {
    cout << 0 << endl;
    cout << 4 << endl;
    if (l % 2 == 1) l++;
    for (i = l; i < l + 4; i++) cout << i << " ";
    return 0;
  }
  if (k >= 3 && l == 1) {
    cout << 0 << endl;
    cout << 3 << endl;
    for (i = l; i < l + 3; i++) cout << i << " ";
    return 0;
  }
  if (k >= 3) {
    long long j = 1, z, f;
    while (j <= l) j <<= 1;
    j = j + j / 2;
    z = j ^ l;
    if (j <= r) {
      cout << "0\n";
      cout << "3\n";
      cout << j << " " << z << " " << l;
      return 0;
    }
  }
  if (k == 1) {
    cout << l << endl;
    cout << 1 << endl;
    cout << l;
    return 0;
  }
  if (k >= 2 && (r - l > 1 || l % 2 == 0)) {
    cout << 1 << endl;
    cout << 2 << endl;
    if (l % 2 == 1) l++;
    cout << l << " " << l + 1;
    return 0;
  }
  if (k >= 2 && (r - l == 1 && l % 2 == 1)) {
    long long a = l ^ r;
    if (a <= l) {
      cout << a << endl;
      cout << 2 << endl;
      cout << l << " " << l + 1;
    } else {
      cout << l << endl;
      cout << 1 << endl;
      cout << l;
    }
  }
  return 0;
}
