# Binary String Constructing
from itertools import permutations

def solve(a, b, x):
    s = a * '0' + b * '1'
    checked = set()
    for perm in permutations(s):
        if perm in checked:
            continue
        if not is_valid(perm, x):
            checked.add(perm)
            continue        
        return ''.join(map(str, perm))


def is_valid(s, x):
    return sum(s[i] != s[i + 1] for i in range(len(s) - 1)) == x



def main():
    a, b, x = map(int, input().strip().split())
    result = solve(a, b, x)
    print(result)


if __name__ == '__main__':
    main()
