#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, x;
  cin >> a >> b >> x;
  string s = "";
  if (a >= b) {
    s.push_back('0');
    a--;
  } else {
    s.push_back('1');
    b--;
  }
  while (x) {
    if (x == 1) {
      if (s.back() == '1') {
        while (b) s.push_back('1'), b--;
        while (a) s.push_back('0'), a--;
      } else {
        while (a) s.push_back('0'), a--;
        while (b) s.push_back('1'), b--;
      }
    } else if (s.back() == '1') {
      s.push_back('0');
      a--;
    } else {
      s.push_back('1');
      b--;
    }
    x--;
  }
  cout << s << endl;
}
