import sys
from copy import copy
import itertools

a, b, x = map(int, input().split())
n = copy(x)
arr = ['0' for i in range(a)]
brr = ['1' for i in range(b)]

s = ""
s = s + "".join(arr)
s = s + "".join(brr)

if(x==1):
    print(s)
    sys.exit(0)
if(x==2):
    s = s.replace("0", "", 1)
    s+='0'
    print(s)
    sys.exit(0)

d = set(itertools.permutations(s))
if n%2==0:
    flag = 1
else:
    flag = 0

for i in d:
    ss = "".join(i)

    if(flag and ss.count("01")==n//2 and ss.count("10")==n//2):
        print(ss)
        break
    if(flag==0 and ss.count("01")==n//2 or ss.count("10")==n//2):
        print(ss)
        break