#include <bits/stdc++.h>
using namespace std;
int a, b, x;
int s[10000];
void solve() {
  cin >> a >> b >> x;
  swap(a, b);
  if (a > b)
    s[0] = 1, a--;
  else
    s[0] = 0, b--;
  for (int i = 1; i <= x; i++) {
    s[i] = s[i - 1] ^ 1;
    if (s[i])
      a--;
    else
      b--;
  }
  for (int i = 0; i <= x; i++) {
    cout << s[i];
    if (s[i] == 1 && a) {
      for (int j = 1; j <= a; j++) cout << 1;
      a = 0;
    }
    if (s[i] == 0 && b) {
      for (int j = 1; j <= b; j++) cout << 0;
      b = 0;
    }
  }
  cout << endl;
}
int main() {
  int t;
  ios::sync_with_stdio(false);
  solve();
  return 0;
}
