#include <bits/stdc++.h>
int main(int argc, char *argv[]) {
  int a, b, x;
  std::cin >> a >> b >> x;
  bool flag = false;
  if (a < b) {
    flag = true;
    std::swap(a, b);
  }
  std::string s = "";
  if (x & 1) {
    int xa = (x + 1) / 2, xb = xa;
    if (x == 1) {
      xb = 1;
    }
    int aa = a - xa, bb = b - xb;
    for (int i = 0; i < aa; i++) {
      s += "0";
    }
    for (int i = 0; i < xb; i++) {
      s += "01";
    }
    for (int i = 0; i < bb; i++) {
      s += "1";
    }
    if (flag) {
      for (int i = 0; i < a + b; i++) {
        if (s[i] == '0') {
          s[i] = '1';
        } else {
          s[i] = '0';
        }
      }
    }
    std::cout << s << std::endl;
  } else {
    std::string s = "";
    int xa = x / 2 + 1, xb = x / 2;
    int aa = a - xa, bb = b - xb;
    for (int i = 0; i < xb; i++) {
      s += "01";
    }
    for (int i = 0; i < bb; i++) {
      s += "1";
    }
    for (int i = 0; i <= aa; i++) {
      s += "0";
    }
    if (flag) {
      for (int i = 0; i < a + b; i++) {
        if (s[i] == '0') {
          s[i] = '1';
        } else {
          s[i] = '0';
        }
      }
    }
    std::cout << s << std::endl;
  }
  return 0;
}
