#include <bits/stdc++.h>
using namespace std;
const int maxn = 200 + 10;
int a, b, x;
int z[maxn], val[maxn];
int main() {
  scanf("%d%d%d", &a, &b, &x);
  int ii;
  if (a < b)
    ii = 1;
  else
    ii = 0;
  for (int i = 1; i <= x + 1; i++) {
    z[i] = ii;
    val[i] = 1;
    if (ii == 1)
      b--;
    else
      a--;
    ii = 1 - ii;
  }
  for (int i = 1; i <= x + 1; i++)
    if (z[i] == 0) {
      val[i] = val[i] + a;
      break;
    }
  for (int i = 1; i <= x + 1; i++)
    if (z[i] == 1) {
      val[i] = val[i] + b;
      break;
    }
  for (int i = 1; i <= x + 1; i++)
    for (int j = 1; j <= val[i]; j++) printf("%d", z[i]);
}
