#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, a, b;
  cin >> a >> b >> x;
  if (a >= b) {
    cout << "0";
    if (x % 2 == 0) {
      for (int i = 1; i < x / 2; i++) cout << "10";
      for (int i = 0; i <= b - x / 2; i++) cout << "1";
      for (int i = 1; i <= a - x / 2; i++) cout << "0";
    }
    if (x % 2 == 1) {
      for (int i = 1; i <= x / 2; i++) cout << "10";
      for (int i = 1; i < a - x / 2; i++) cout << "0";
      for (int i = 0; i < b - x / 2; i++) cout << "1";
    }
  }
  if (b > a) {
    cout << "1";
    if (x % 2 == 0) {
      for (int i = 1; i < x / 2; i++) cout << "01";
      for (int i = 0; i <= a - x / 2; i++) cout << "0";
      for (int i = 1; i <= b - x / 2; i++) cout << "1";
    }
    if (x % 2 == 1) {
      for (int i = 1; i <= x / 2; i++) cout << "01";
      for (int i = 1; i < b - x / 2; i++) cout << "1";
      for (int i = 0; i < a - x / 2; i++) cout << "0";
    }
  }
  return 0;
}
