#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, x;
  cin >> a >> b >> x;
  string str = "";
  if (a > b)
    str += '0', a--;
  else
    str += '1', b--;
  while (x--) {
    if (str[str.size() - 1] == '1')
      str += '0', a--;
    else
      str += '1', b--;
  }
  string zero = string(a, '0');
  string one = string(b, '1');
  string ans = "";
  if (str[0] == '1') {
    str = str.substr(1, str.size() - 1);
    ans = one + "1" + zero + str;
  } else {
    str = str.substr(1, str.size() - 1);
    ans = zero + "0" + one + str;
  }
  cout << ans << endl;
}
