#include <bits/stdc++.h>
using namespace std;
int main() {
  long long l, r, k, len;
  cin >> l >> r >> k;
  len = r - l + 1;
  if (k == 1) {
    cout << l << endl << 1 << endl << l << endl;
    return 0;
  } else if (k == 2) {
    if (l == 1)
      cout << 1 << endl << 1 << endl << 1 << endl;
    else if (len == 2 && (l & 1)) {
      long long ans = l ^ (l + 1);
      if (l < ans)
        cout << l << endl << 1 << endl << l << endl;
      else
        cout << ans << endl << 2 << endl << l << " " << l + 1 << endl;
      return 0;
    } else if (l & 1) {
      cout << 1 << endl << 2 << endl << l + 1 << " " << l + 2 << endl;
      return 0;
    } else {
      cout << 1 << endl << 2 << endl << l << " " << l + 1 << endl;
      return 0;
    }
  } else if (k == 3) {
    bool ff = false;
    long long i, x, y, a, b, c;
    for (i = 62; i >= 0; i--) {
      x = 1ll << i, y = 1ll << i - 1, a = x | y, b = x | y - 1, c = x - 1;
      if (l <= a && a <= r && l <= b && b <= r && l <= c && c <= r &&
          (a ^ b ^ c) == 0) {
        ff = 1;
        cout << 0 << endl << 3 << endl << a << " " << b << " " << c << endl;
        return 0;
      }
    }
    if (!ff) {
      if (l & 1)
        cout << 1 << endl << 2 << endl << l + 1 << " " << l + 2 << endl;
      else
        cout << 1 << endl << 2 << endl << l << " " << l + 1 << endl;
      return 0;
    }
  } else if (len >= 4 && k >= 4) {
    if (l % 2 == 0)
      cout << 0 << endl
           << 4 << endl
           << l << " " << l + 1 << " " << l + 2 << " " << l + 3 << endl;
    else if (len > 4)
      cout << 0 << endl
           << 4 << endl
           << l + 1 << " " << l + 2 << " " << l + 3 << " " << l + 4 << endl;
    else if (len == 4 && k == 4 && l % 2 == 1)
      goto lb;
    return 0;
  } else if (len == 4 && (l & 1LL)) {
  lb:
    long long a = l, b = l + 1, c = l + 2, d = r;
    if ((a ^ b ^ c) == 0) {
      cout << 0 << endl << 3 << endl << a << " " << b << " " << c << endl;
      return 0;
    } else if ((a ^ b ^ d) == 0) {
      cout << 0 << endl << 3 << endl << a << " " << b << " " << d << endl;
      return 0;
    } else if ((a ^ d ^ c) == 0) {
      cout << 0 << endl << 3 << endl << a << " " << c << " " << d << endl;
      return 0;
    } else if ((d ^ b ^ c) == 0) {
      cout << 0 << endl << 3 << endl << b << " " << c << " " << d << endl;
      return 0;
    } else {
      cout << 1 << endl << 2 << endl << b << " " << c << endl;
      return 0;
    }
  }
  return 0;
}
