#include <bits/stdc++.h>
using namespace std;
int r[1000];
char s[100005];
int main() {
  int i, j, k, l, n, x, a, b;
  cin >> a >> b >> x;
  if (x == 1) {
    string r = "";
    while (a--) r += "0";
    while (b--) r += "1";
    cout << r << endl;
    return 0;
  } else {
    int flag = 0, c1 = 0, c2 = 0;
    char ch, ch2;
    if (a > b)
      flag = 1;
    else if (b > a)
      flag = 2;
    int temp = x - 1;
    if (flag == 1) {
      ch = '0';
      ch2 = '1';
    } else {
      ch = '1';
      ch2 = '0';
    }
    for (i = 0; i <= temp; i += 2) {
      s[i] = ch;
      c1++;
    }
    for (i = 1; i <= temp; i += 2) {
      s[i] = ch2;
      c2++;
    }
    int temp1, temp2;
    if (ch == '0') {
      temp1 = a - c1;
      temp2 = b - c2;
      int q = temp + 1;
      if (s[temp] == ch) {
        while (temp1--) {
          s[q++] = ch;
        }
        while (temp2--) {
          s[q++] = ch2;
        }
      } else {
        while (temp2--) {
          s[q++] = ch2;
        }
        while (temp1--) {
          s[q++] = ch;
        }
      }
      s[q] = '\0';
    } else if (ch == '1') {
      temp1 = b - c1;
      temp2 = a - c2;
      int q = temp + 1;
      if (s[temp] == ch) {
        while (temp1--) {
          s[q++] = ch;
        }
        while (temp2--) {
          s[q++] = ch2;
        }
      } else {
        while (temp2--) {
          s[q++] = ch2;
        }
        while (temp1--) {
          s[q++] = ch;
        }
      }
      s[q] = '\0';
    }
    for (i = 0; s[i] != '\0'; i++) cout << s[i];
    cout << endl;
  }
  return 0;
}
