#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int a, b, n;
  cin >> a >> b >> n;
  if (a > b && n % 2 != 0) {
    int p = n / 2;
    while (p > 0) {
      cout << 0 << 1;
      a--;
      b--;
      p--;
    }
    while (a > 0) {
      cout << 0;
      a--;
    }
    while (b > 0) {
      cout << 1;
      b--;
    }
  } else if (a > b && n % 2 == 0) {
    int p = n / 2;
    while (p > 0) {
      cout << 0 << 1;
      a--;
      b--;
      p--;
    }
    while (b > 0) {
      cout << 1;
      b--;
    }
    while (a > 0) {
      cout << 0;
      a--;
    }
  } else if (b >= a && n % 2 == 0) {
    int p = n / 2;
    while (p > 0) {
      cout << 1 << 0;
      a--;
      b--;
      p--;
    }
    while (a > 0) {
      cout << 0;
      a--;
    }
    while (b > 0) {
      cout << 1;
      b--;
    }
  } else if (b >= a && n % 2 != 0) {
    int p = n / 2;
    while (p > 0) {
      cout << 1 << 0;
      a--;
      b--;
      p--;
    }
    while (b > 0) {
      cout << 1;
      b--;
    }
    while (a > 0) {
      cout << 0;
      a--;
    }
  }
  return 0;
}
