#include <bits/stdc++.h>
using namespace std;
long long int L, R, K;
long long int ans = 0x3f3f3f3f3f3f3f3f;
int main() {
  cin >> L >> R >> K;
  if (R - L + 1 <= 4) {
    long long int m = R - L + 1;
    long long int sig = 0;
    for (long long int i = 1; i < (1LL << m); i++) {
      long long int temp = 0;
      long long int wei = 0;
      long long int si = i;
      while (si) {
        wei++;
        si = si & (si - 1);
      }
      if (wei > K) continue;
      for (long long int j = 0; j < m; j++) {
        if (i & (1LL << j)) {
          temp ^= L + j;
        }
      }
      if (temp < ans) {
        ans = temp;
        sig = i;
      }
    }
    cout << ans << endl;
    long long int wei = 0;
    long long int tsig = sig;
    while (tsig) {
      wei++;
      tsig = tsig & (tsig - 1);
    }
    cout << wei << endl;
    for (long long int i = 0; i < m; i++) {
      if (sig & (1 << i)) {
        cout << L + i << " ";
      }
    }
    cout << endl;
  } else {
    if (K == 1) {
      cout << L << endl;
      cout << 1 << endl;
      cout << L << endl;
    } else if (K == 2) {
      if (L % 2) L++;
      cout << 1 << endl;
      cout << 2 << endl;
      cout << L << " " << L + 1 << endl;
    } else if (K == 3) {
      bool flag = false;
      long long int mx = 3, mi = 1;
      while (mx <= R) {
        if (mi >= L) {
          flag = true;
          cout << 0 << endl << 3 << endl;
          cout << mx << " " << mx - 1 << " " << mi << endl;
          break;
        }
        mx <<= 1LL;
        mi <<= 1LL;
        mi++;
      }
      if (flag == false) {
        if (L % 2) L++;
        cout << 1 << endl;
        cout << 2 << endl;
        cout << L << " " << L + 1 << endl;
      }
    } else {
      cout << 0 << endl;
      cout << 4 << endl;
      if (L % 2) L++;
      cout << L << " " << L + 1 << " " << L + 2 << " " << L + 3 << endl;
    }
  }
  return 0;
}
