#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int a[2], x;
  cin >> a[0] >> a[1] >> x;
  string s = "";
  for (int i = 0; i < a[1]; i++) s += '1';
  for (int i = 0; i < a[0]; i++) s += '0';
  int maxi = 1, beg = 1;
  while (maxi < x && beg < (int)s.length() && s[beg] != '0' && beg < a[1]) {
    maxi--;
    swap(s[a[1]], s[beg]);
    a[1]++;
    maxi += 2 + (s[(int)s.length() - 1] == '0');
    beg += 2;
  }
  if (maxi > x) {
    a[1]--;
    beg -= 2;
    maxi -= (s[(int)s.length() - 1] == '0');
    swap(s[a[1]], s[beg]);
    maxi -= 2;
    maxi += (s[(int)s.length() - 1] == '0');
  }
  if (maxi != x) {
    s.erase(s.length() - 1, 1);
    s = '0' + s;
  }
  cout << s;
  return 0;
}
