#include <bits/stdc++.h>
using namespace std;
const int MAXN = 205;
int main(void) {
  int a, b, x;
  string res = "";
  scanf("%d%d%d", &a, &b, &x);
  int f = 0;
  if (x % 2 == 0) {
    x--;
    f = 1;
  }
  int t = (x + 1) / 2;
  while (t--) {
    res += "01";
    a--;
    b--;
  }
  if (f) {
    if (a && b) {
      while (a--) {
        res = "0" + res;
      }
      while (b--) {
        res = "1" + res;
      }
    } else if (a) {
      while (a--) {
        res += "0";
      }
    } else if (b) {
      while (b--) {
        res = "1" + res;
      }
    }
  } else {
    while (a--) {
      res = "0" + res;
    }
    while (b--) {
      res += "1";
    }
  }
  cout << res << endl;
  return 0;
}
