#include <bits/stdc++.h>
using namespace std;
const int MAXN = 1e5 + 5;
int main() {
  string ans = "";
  int a, b, x;
  char MAX, MIN;
  cin >> a >> b >> x;
  if (a >= b)
    MAX = '0', MIN = '1';
  else
    MAX = '1', MIN = '0', swap(a, b);
  for (int i = 0; i <= x; i++) ans += i & 1 ? MIN : MAX;
  if (x < a + b) {
    int ta = x / 2 + 1;
    int tb = x / 2 + (x & 1);
    string tmp = string(b - tb, MIN);
    ans.insert(1, tmp);
    ans = string(a - ta, MAX) + ans;
  }
  cout << ans << endl;
  return 0;
}
