#include <bits/stdc++.h>
int s[500];
int a, b, x;
int main() {
  int a, b, x;
  scanf("%d%d%d", &a, &b, &x);
  int n = (x + 1) / 2;
  a -= n;
  b -= n;
  bool solved = 0;
  if (x % 2 == 0 && b) {
    solved = 1;
    printf("1");
    b--;
  } else if (x % 2 == 0) {
    a--;
  }
  for (int i = 1; i <= a; i++) {
    printf("0");
  }
  for (int i = 1; i <= n; i++) {
    printf("01");
  }
  if (x % 2 == 0 && !solved) {
    printf("0");
    solved = 1;
  }
  for (int i = 1; i <= b; i++) {
    printf("1");
  }
}
