#include <bits/stdc++.h>
using namespace std;
int uniq(string &s) {
  int ret = 0, len = s.length();
  for (int i = 0; i < len - 1; i++) ret += (s[i] != s[i + 1]);
  return ret;
}
int main() {
  int a, b, x;
  cin >> a >> b >> x;
  bool c = 0;
  string s;
  for (int i = 0; i < x; i++) {
    s += (char)(c + 48);
    if (c)
      b--;
    else
      a--;
    c = !c;
  }
  for (int i = 0; i < b; i++) s += '1';
  for (int i = 0; i < a; i++) s += '0';
  while (uniq(s) != x) {
    int len = s.length();
    char c = s[len - 1];
    for (int i = len - 1; i > 0; i--) s[i] = s[i - 1];
    s[0] = c;
  }
  cout << s << endl;
  return 0;
}
