#include <bits/stdc++.h>
#pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
long long l, r, k;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cin >> l >> r >> k;
  if (k >= 4) {
    if (r - l >= 4 || (r - l == 3 && l % 2 == 0)) {
      cout << "0\n4\n";
      if (l % 2 == 1) l++;
      for (long long i = 0; i <= 3; i++) {
        cout << l + i << " ";
      }
      return 0;
    }
  }
  if (k >= 3) {
    long long luu = 0;
    for (long long i = 40; i >= 0; i--) {
      if ((l >> i) & 1) {
        luu = i;
        break;
      }
    }
    long long hi = (1LL << luu) | (1LL << (luu + 1));
    if (hi <= r) {
      cout << "0\n3\n";
      cout << l << " " << (l ^ hi) << " " << hi;
      return 0;
    }
  }
  if (k >= 2) {
    if (r - l >= 2 || (r - l == 1 && l % 2 == 0)) {
      cout << "1\n2\n";
      if (l % 2 == 1) l++;
      cout << l << " " << l + 1;
      return 0;
    }
    if (r - l == 1 && (r ^ l) < l) {
      cout << (r ^ l) << "\n";
      cout << 2 << "\n";
      cout << l << " " << r << "\n";
      return 0;
    }
  }
  if (k >= 1) {
    cout << l << '\n' << 1 << "\n" << l;
  }
  return 0;
}
