#include <bits/stdc++.h>
using namespace std;
int a, b, x;
string s;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> a >> b >> x;
  if (a >= b) {
    if (x % 2) {
      for (int i = 0; i < b - x / 2; ++i) cout << 1;
      for (int i = 0; i < a - x / 2; ++i) cout << 0;
      for (int i = 0; i < x / 2; ++i) cout << 1 << 0;
      cout << '\n';
      return 0;
    }
    for (int i = 0; i < a - x / 2; ++i) cout << 0;
    for (int i = 0; i < b - x / 2; ++i) cout << 1;
    for (int i = 0; i < x / 2; ++i) cout << 1 << 0;
    cout << '\n';
    return 0;
  }
  if (x % 2) {
    for (int i = 0; i < a - x / 2; ++i) cout << 0;
    for (int i = 0; i < b - x / 2; ++i) cout << 1;
    for (int i = 0; i < x / 2; ++i) cout << 0 << 1;
    cout << '\n';
    return 0;
  }
  for (int i = 0; i < b - x / 2; ++i) cout << 1;
  for (int i = 0; i < a - x / 2; ++i) cout << 0;
  for (int i = 0; i < x / 2; ++i) cout << 0 << 1;
  cout << '\n';
  return 0;
}
