#include <bits/stdc++.h>
using namespace std;
long long l, r, k, x, y;
int main() {
  scanf("%lld%lld%lld", &l, &r, &k), x = 1;
  if (k == 1 || l == r || (r - l == 1 && l % 2 && (l ^ r) >= l))
    return printf("%lld\n1\n%lld\n", l, l), 0;
  for (int i = 0;; i++) {
    if (x > l) {
      y = i;
      break;
    }
    x *= 2;
  }
  if (x + x / 2 <= r && k >= 3)
    return printf("0\n3\n%lld %lld %lld\n", x - 1, x + x / 2, x + x / 2 - 1), 0;
  if (r - l == 1)
    return printf("%lld\n2\n%lld %lld\n", l ^ (l + 1), l, l + 1), 0;
  if (l % 2) l++;
  if (l + 3 <= r && k >= 4)
    return printf("0\n4\n%lld %lld %lld %lld\n", l, l + 1, l + 2, l + 3), 0;
  else
    return printf("1\n2\n%lld %lld\n", l, l + 1), 0;
}
