#include <bits/stdc++.h>
const long long int MOD = 1000000007ll;
const int mxsz = 10055;
using namespace std;
int main() {
  std::ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int a, b, x;
  cin >> a >> b >> x;
  if (a <= b) {
    int n = 0;
    string st = "1";
    b--;
    while (n <= x - 2) {
      if (n % 2 == 0) {
        st += "0";
        a--;
      } else {
        st += "1";
        b--;
      }
      n++;
    }
    if (n % 2 == 0) {
      while (b > 0) {
        st += "1";
        b--;
      }
      while (a > 0) {
        st += "0";
        a--;
      }
    } else {
      while (a > 0) {
        st += "0";
        a--;
      }
      while (b > 0) {
        st += "1";
        b--;
      }
    }
    cout << st;
  } else {
    int n = 0;
    string st = "0";
    a--;
    while (n <= x - 2) {
      if (n % 2 == 1) {
        st += "0";
        a--;
      } else {
        st += "1";
        b--;
      }
      n++;
    }
    if (n % 2 == 1) {
      while (b > 0) {
        st += "1";
        b--;
      }
      while (a > 0) {
        st += "0";
        a--;
      }
    } else {
      while (a > 0) {
        st += "0";
        a--;
      }
      while (b > 0) {
        st += "1";
        b--;
      }
    }
    cout << st;
  }
  return 0;
}
