Problem: For some binary string (i.e. each character is either '0' or '1'), all pairs of consecutive (adjacent) characters were written. In other words, all substrings of length were written. For each pair (substring of length ), the number of '1' (ones) in it was calculated.
You are given three numbers:
- — the number of such pairs of consecutive characters (substrings) where the number of ones equals ;
- — the number of such pairs of consecutive characters (substrings) where the number of ones equals ;
- — the number of such pairs of consecutive characters (substrings) where the number of ones equals .
For example, for the string "1110011110", the following substrings would be written: "11", "11", "10", "00", "01", "11", "11", "11", "10". Thus, , , .
Your task is to restore any suitable binary string from the given values . It is guaranteed that at least one of the numbers is greater than . Also, it is guaranteed that a solution exists.
Input Format: The first line contains an integer () — the number of test cases in the input. Then test cases follow.
Each test case consists of one line which contains three integers (; ). It is guaranteed that the answer for given exists.
Output Format: Print lines. Each of the lines should contain a binary string corresponding to a test case. If there are several possible solutions, print any of them.