#include <bits/stdc++.h>
using namespace std;
int main() {
  int a[2], x;
  cin >> a[0] >> a[1] >> x;
  string s;
  char c[2] = {'0', '1'};
  if (a[0] > a[1]) {
    for (int i = 1; i < x; i++) {
      s = s + c[(i - 1) % 2];
      a[(i - 1) % 2]--;
    }
    for (int i = 1; i <= a[(x - 1) % 2]; i++) s = s + c[(x - 1) % 2];
    for (int i = 1; i <= a[x % 2]; i++) s = s + c[x % 2];
  } else {
    for (int i = 1; i < x; i++) {
      s = s + c[i % 2];
      a[i % 2]--;
    }
    for (int i = 1; i <= a[x % 2]; i++) s = s + c[x % 2];
    for (int i = 1; i <= a[(x - 1) % 2]; i++) s = s + c[(x - 1) % 2];
  }
  cout << s << endl;
}
