#include <bits/stdc++.h>
using namespace std;
int main() {
  int p, x, y, a[2];
  deque<int> v;
  cin >> a[0] >> a[1] >> x;
  p = a[1] > a[0];
  ++x;
  for (int i = x; i--; p ^= 1) {
    v.push_back(p);
    --a[p];
    if (i <= 1) {
      while (a[p]--) v.push_back(p);
    }
  }
  for (auto i : v) cout << i;
}
