#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, n;
  cin >> a >> b >> n;
  bool aa = 0, bb = 1;
  if (a < b) swap(a, b), swap(aa, bb);
  for (int i = 0; i < a - (n + 1) / 2 - (n % 2 == 0); i++) cout << aa;
  for (int i = 0; i < (n + 1) / 2; i++) cout << aa << bb;
  for (int i = 0; i < b - (n + 1) / 2; i++) cout << bb;
  if (n % 2 == 0) cout << aa;
}
