#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
const int mod = 1e9 + 7;
int T;
long long int L, R;
int k;
void work() {
  if (k == 3) {
    long long int x = -1, y, z;
    for (long long int i = 3; i <= R; i <<= 1) {
      if ((i ^ (i - 1)) >= L) {
        x = i;
        y = i - 1;
        z = i ^ (i - 1);
        break;
      }
    }
    if (x != -1) {
      cout << 0 << " " << 3 << endl;
      cout << x << " " << y << " " << z << endl;
    } else {
      if (L & 1) L++;
      cout << 1 << " " << 2 << endl;
      cout << L << " " << L + 1 << endl;
    }
  } else {
    if (R - L + 1 == 4) {
      if (L % 2 == 0) {
        cout << 0 << " " << 4 << endl;
        cout << L << " " << L + 1 << " " << L + 2 << " " << L + 3 << endl;
      } else {
        int flag = 0;
        long long int x, i, j;
        for (i = L; i <= R; i++) {
          for (j = i + 1; j <= R; j++) {
            x = i ^ j;
            if (L <= x && x <= R && x != i && x != j) {
              flag = 1;
              break;
            }
          }
          if (flag) break;
        }
        if (flag) {
          cout << 0 << " " << 3 << endl;
          cout << i << " " << j << " " << x << endl;
        } else {
          cout << 1 << " " << 2 << endl;
          cout << L + 1 << " " << L + 2 << endl;
        }
      }
    } else {
      if (L % 2 == 1) {
        cout << 0 << " " << 4 << endl;
        cout << L + 1 << " " << L + 2 << " " << L + 3 << " " << L + 4 << endl;
      } else {
        cout << 0 << " " << 4 << endl;
        cout << L << " " << L + 1 << " " << L + 2 << " " << L + 3 << endl;
      }
    }
  }
}
int main() {
  scanf("%lld%lld%d", &L, &R, &k);
  if (k == 1) {
    cout << L << " " << 1 << endl;
    cout << L << endl;
  } else if (k == 2) {
    if (R - L + 1 == 2) {
      long long int minl = L ^ R;
      if (minl < L && minl < R) {
        cout << minl << " " << 2 << endl;
        cout << L << " " << R << endl;
      } else {
        cout << L << " " << 1 << endl;
        cout << L << endl;
      }
    } else if (L % 2 == 0) {
      cout << 1 << " " << 2 << endl;
      cout << L << " " << L + 1 << endl;
    } else {
      cout << 1 << " " << 2 << endl;
      cout << L + 1 << " " << L + 2 << endl;
    }
  } else
    work();
  return 0;
}
