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