#include <bits/stdc++.h>
using namespace std;
int main() {
  int a = 0, b = 0, x = 0;
  cin >> a >> b >> x;
  string ans = "10";
  x--;
  a--;
  b--;
  while (x > 1) {
    ans += "10";
    x -= 2;
    a--;
    b--;
  }
  if (x) {
    if (a) {
      ans = "0" + ans;
      a--;
    } else {
      ans += "1";
      b--;
    }
  }
  if (a) {
    int index = 0;
    for (int i = 0; i < ans.size(); i++) {
      if (ans[i] == '0') {
        index = i;
        break;
      }
    }
    ans.insert(index, string(a, '0'));
  }
  if (b) {
    int index = 0;
    for (int i = 0; i < ans.size(); i++) {
      if (ans[i] == '1') {
        index = i;
        break;
      }
    }
    ans.insert(index, string(b, '1'));
  }
  cout << ans << endl;
  return 0;
}
