#include <bits/stdc++.h>
using namespace std;
template <typename T>
void macro_scan(T& t) {
  cin >> t;
};
template <typename F, typename... R>
void macro_scan(F& f, R&... r) {
  cin >> f;
  macro_scan(r...);
}
int a[2];
int main() {
  int d, b, c;
  macro_scan(d, b, c);
  ;
  a[0] = d;
  a[1] = b;
  int xx = 0;
  if (a[0] < a[1]) xx = 1;
  string bin = "";
  while (c--) {
    bin += to_string(xx);
    if (a[xx]) a[xx]--;
    xx ^= 1;
  }
  xx ^= 1;
  while (a[xx]) {
    bin += to_string(xx);
    a[xx]--;
  }
  xx ^= 1;
  while (a[xx]) {
    bin += to_string(xx);
    a[xx]--;
  }
  cout << bin;
}
