You are given three integers a, b and x. Your task is to construct a binary string s of length n = a + b such that there are exactly a zeroes, exactly b ones and exactly x indices i (where 1 ≤ i < n) such that s_i ≠ s_{i + 1}. It is guaranteed that the answer always exists.

For example, for the string "01010" there are four indices i such that 1 ≤ i < n and s_i ≠ s_{i + 1} (i = 1, 2, 3, 4). For the string "111001" there are two such indices i (i = 3, 5).

Recall that binary string is a non-empty sequence of characters where each character is either 0 or 1.

Input

The first line of the input contains three integers a, b and x (1 ≤ a, b ≤ 100, 1 ≤ x < a + b).

Output

Print only one string s, where s is any binary string satisfying conditions described above. It is guaranteed that the answer always exists.

Examples

Input

2 2 1


Output

1100


Input

3 3 3


Output

101100


Input

5 3 6


Output

01010100

Note

All possible answers for the first example: 

  * 1100; 
  * 0011. 



All possible answers for the second example: 

  * 110100; 
  * 101100; 
  * 110010; 
  * 100110; 
  * 011001; 
  * 001101; 
  * 010011; 
  * 001011. 
import java.io.*;
import java.util.*;
import java.math.BigInteger;
import java.math.BigDecimal;
 
public class problem494_B {
   
    static final boolean ONLINE_JUDGE = System.getProperty("ONLINE_JUDGE") != null;
    
    void solve() throws IOException {
        int a = readInt();
        int b = readInt();
        int x = readInt();
        int[] ar = new int[2];
        ar[0] = a;
        ar[1] = b;
        int c = 1;
        if (a >= b) {
        	c = 0;
        }
        for (int i = 0;i < x-1; ++i) {
        	out.print(c);
        	ar[c]--;
        	c = 1-c;
        }
        while (ar[c] > 0) {
        	out.print(c);
        	ar[c]--;
        }
        c = 1-c;
        while (ar[c] > 0) {
        	out.print(c);
        	ar[c]--;
        }
    }
        
////////// Methods ///////////////////////////////////////////////////////////////////////////    

    int min(int... a) {
    	int min = Integer.MAX_VALUE;
    	
    	for (int i = 0; i < a.length; ++i) {
    		if (min > a[i]) {
    			min = a[i];
    		}
    	}
    	
    	return min;
    }
    
    int max(int... a) {
    	int max = Integer.MIN_VALUE;
    	
    	for (int i = 0; i < a.length; ++i) {
    		if (max < a[i]) {
    			max = a[i];
    		}
    	}
    	
    	return max;
    }
    
//////// #Methods //////////////////////////////////////////////////////////////////////////////////////////////////
    
/////// Classes //////////////////////////////////////////////////////////////////////////////////////////////////////////
    
    class Pair implements Comparable<Pair> {
    	long x;
    	long y;
    	
    	Pair() {
    		this.x = 0;
    		this.y = 0;
    	}
    	
    	Pair(long x, long y) {
    		this.x = x;
    		this.y = y;
    	}
    	
    	@Override
    	public boolean equals(Object obj) {
    		if (this == obj) {
    			return true;
    		}
    		if (obj == null) return false;
    		Pair other = (Pair) obj;
    		if (this.x == other.x && this.y == other.y) {
    			return true;
    		}
    		return false;
    	}
    	
    	@Override
    	public int compareTo(Pair other) {
    		if (this.x != other.x) return Long.compare(this.x, other.x);
    		return Long.compare(this.y*other.x, this.x*other.y);
    	}
    }
    
////// #Classes ////////////////////////////////////////////////////////////////////////////////////////////////////////////
    
/////// Initialization ////////////////////////////////////////////////////////////////////////////////////////////////////////
    
    public static void main(String[] args) {
        new problem494_B().run();
    }
   
    BufferedReader in;
    PrintWriter out;
    StringTokenizer tok;
   
    void init() throws FileNotFoundException {
      
        if (ONLINE_JUDGE) {
            in = new BufferedReader(new InputStreamReader(System.in));
            out = new PrintWriter(System.out);
        } else {
            in = new BufferedReader(new FileReader("D:\\Java-programs\\eclipse-workspace\\OLYMP\\src\\input.txt"));
            out = new PrintWriter("D:\\Java-programs\\eclipse-workspace\\OLYMP\\src\\output.txt");
        }
       
        tok = new StringTokenizer("");
    }
   
    void run() {
        try {
            long timeStart = System.currentTimeMillis();
           
            init();
            solve();
           
            out.close();
           
            long timeEnd = System.currentTimeMillis();
            System.err.println("Time = " + (timeEnd - timeStart));
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(-1);
        }
    }
   
    String readLine() throws IOException {
        return in.readLine();
    }
   
    String delimiter = " ";
   
    String readString() throws IOException {
        while (!tok.hasMoreTokens()) {
            String nextLine = readLine();
            if (null == nextLine) return null;
           
            tok = new StringTokenizer(nextLine);
        }
       
        return tok.nextToken(delimiter);
    }
   
    int readInt() throws IOException {
        return Integer.parseInt(readString());
    }
   
    long readLong() throws IOException {
        return Long.parseLong(readString());
    }
    
    double readDouble() throws IOException {
    	return Double.parseDouble(readString());
    }       
}

////////// #Initialization //////////////////////////////////////////////////////////////////////////////////////