#include <bits/stdc++.h>
using namespace std;
long long l, r, k;
int main() {
  cin >> l >> r >> k;
  if (k >= 4) {
    if (l & 1 && l + 4 <= r) l += 1;
    if (!(l & 1) && l + 3 <= r) {
      puts("0\n4");
      for (int i = 0; i < 4; i++) cout << l + i << " ";
      cout << endl;
      return 0;
    }
  }
  if (k >= 3) {
    long long bit = 0, now = l;
    while (now) {
      now >>= 1;
      bit += 1;
    }
    now = 3;
    while (--bit) now <<= 1;
    if (now <= r) {
      puts("0\n3");
      cout << now << " " << (now ^ l) << " " << l << endl;
      return 0;
    }
  }
  if (k >= 2) {
    if (l % 2 == 0) {
      puts("1\n2");
      cout << l << " " << l + 1 << endl;
      return 0;
    }
    if (l % 2 == 1 && (l + 2 <= r)) {
      puts("1\n2");
      cout << l + 1 << " " << l + 2 << endl;
      return 0;
    }
    if ((l ^ r) < l) {
      cout << (l ^ r) << endl << 2 << endl << l << " " << r << endl;
      return 0;
    }
  }
  cout << l << endl << 1 << endl << l << endl;
  return 0;
}
