You have $$$n$$$ matchsticks.Your task is to combine them to make a number.
Here're some restrictions:
Find the least possible number.
The first line of input will contain a single integer $$$t(1 \leq t \leq 1000)$$$, denoting the number of test cases.
Each test case consists of a line of input.The only line of each test case contains an integer $$$n(2 \leq n \leq 1000)$$$.
For each test case, output on a new line — the the smallest number you can get.
3 4 8 60
4 01 0000000000