#UnknownID32. XHXMMMlOPUlMFF#%/':

XHXMMMlOPUlMFF#%/':

Statement

For an arbitrary binary string t t ^{\text{∗}} , let f(t) f(t) be the number of non-empty subsequences ^{\text{†}} of t t that contain only 0 \mathtt{0} , and let g(t) g(t) be the number of non-empty subsequences of t t that contain at least one 1 \mathtt{1} .

Note that for f(t) f(t) and for g(t) g(t) , each subsequence is counted as many times as it appears in t t . E.g., f(000)=7,g(100)=4 f(\mathtt{000}) = 7, g(\mathtt{100}) = 4 .

We define the oneness of the binary string t t to be f(t)g(t) |f(t)-g(t)| , where for an arbitrary integer z z , z |z| represents the absolute value of z z .

You are given a positive integer n n . Find a binary string s s of length n n such that its oneness is as small as possible. If there are multiple strings, you can print any of them.

^{\text{∗}} A binary string is a string that only consists of characters 0 \texttt{0} and 1 \texttt{1} .

^{\text{†}} A sequence a a is a subsequence of a sequence b b if a a can be obtained from b b by the deletion of several (possibly, zero or all) elements. For example, subsequences of 1011101 \mathtt{1011101} are 0 \mathtt{0} , 1 \mathtt{1} , 11111 \mathtt{11111} , 0111 \mathtt{0111} , but not 000 \mathtt{000} nor 11100 \mathtt{11100} .

Format

Input

The first line contains an integer t t ( 1t104 1 \leq t \leq 10^4 ) — the number of test cases.

The only line of each test case contains an integer n n ( 1n2105 1 \leq n \leq 2\cdot10^5 ) — the length of s s .

It is guaranteed that the sum of n n over all test cases does not exceed 2105 2\cdot10^5 .

Output

For each test case, output s s on a new line. If multiple answers exist, output any.

Sample

3
1
2
3
0
01
010