#include <bits/stdc++.h>
using namespace std;
int abss(int n) {
  if (n < 0)
    return -n;
  else
    return n;
}
const int maxn = 3e5 + 10;
int _min(int a, int b) {
  if (a < b)
    return a;
  else
    return b;
}
int _max(int a, int b) {
  if (a > b)
    return a;
  else
    return b;
}
char s[maxn];
int main() {
  int a, b, x;
  cin >> a >> b >> x;
  int w = _min(a, b);
  if (a > b) {
    int c0 = 0, c1 = 0;
    int tail = 0;
    printf("0");
    c0++;
    for (int i = 1; i <= x - 1; i++) {
      if (i % 2 == 1)
        printf("1"), c1++, tail = 1;
      else
        printf("0"), c0++, tail = 0;
    }
    if (tail == 0 || x - 1 == 0) {
      int temp = a - c0;
      while (temp--) printf("0");
      temp = b - c1;
      while (temp--) printf("1");
    } else {
      int temp = b - c1;
      while (temp--) printf("1");
      temp = a - c0;
      while (temp--) printf("0");
    }
    printf("\n");
  } else {
    int c0 = 0, c1 = 0;
    printf("1");
    c1++;
    int tail = 1;
    for (int i = 1; i <= x - 1; i++) {
      if (i % 2 == 1)
        printf("0"), c0++, tail = 0;
      else
        printf("1"), c1++, tail = 1;
    }
    if (tail == 0 && x - 1 != 0) {
      int temp = a - c0;
      while (temp > 0) printf("0"), temp--;
      temp = b - c1;
      while (temp > 0) printf("1"), temp--;
    } else {
      int temp = b - c1;
      while (temp > 0) printf("1"), temp--;
      temp = a - c0;
      while (temp > 0) printf("0"), temp--;
    }
    printf("\n");
  }
  return 0;
}
