#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
const int N = 1e5;
const int MOD = 1e9 + 7;
const double PI = acos(-1);
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0), cout.tie(0);
  int a, b, x;
  cin >> a >> b >> x;
  string ans = "";
  x++;
  char cur = a > b ? '0' : '1';
  while (x) {
    ans += cur;
    a -= cur == '0';
    b -= cur == '1';
    cur = '0' + '1' - cur;
    x--;
  }
  bool f1 = 1, f2 = 1;
  for (int i = 0; i < ans.size(); i++) {
    if (ans[i] == '0' && f1) {
      for (int j = 0; j < a + 1; j++) cout << '0';
      f1 = 0;
    } else if (ans[i] == '1' && f2) {
      for (int j = 0; j < b + 1; j++) cout << '1';
      f2 = 0;
    } else
      cout << ans[i];
  }
}
