#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, x, i, p, q;
  cin >> a >> b >> x;
  p = a;
  q = b;
  for (i = 1; i <= x; i++) cout << ((i & 1) == (a < b));
  if (a >= b)
    b -= x >> 1, a -= x - (x >> 1);
  else
    a -= x >> 1, b -= x - (x >> 1);
  if ((x & 1) == (p >= q))
    while (a--) putchar('0');
  else
    while (b--) putchar('1');
  while (a > 0) putchar('0'), a--;
  while (b > 0) putchar('1'), b--;
  return 0;
}
