Problem: You have been blessed as a child of Omkar. To express your gratitude, please solve this problem for Omkar!

An array a of length n is called complete if all elements are positive and don't exceed 1000, and for all indices x,y,z (1 ≤ x,y,z ≤ n), a_{x}+a_{y} ≠ a_{z} (not necessarily distinct).

You are given one integer n. Please find any complete array of length n. It is guaranteed that under given constraints such array exists.

Input

Each test contains multiple test cases. The first line contains t (1 ≤ t ≤ 1000) — the number of test cases. Description of the test cases follows.

The only line of each test case contains one integer n (1 ≤ n ≤ 1000).

It is guaranteed that the sum of n over all test cases does not exceed 1000.

Output

For each test case, print a complete array on a single line. All elements have to be integers between 1 and 1000 and for all indices x,y,z (1 ≤ x,y,z ≤ n) (not necessarily distinct), a_{x}+a_{y} ≠ a_{z} must hold.

If multiple solutions exist, you may print any.

Example

Input


2
5
4


Output


1 5 3 77 12
384 384 44 44

Note

It can be shown that the outputs above are valid for each test case. For example, 44+44 ≠ 384.

Below are some examples of arrays that are NOT complete for the 1st test case:

[1,2,3,4,5] 

Notice that a_{1}+a_{2} = a_{3}.

[1,3000,1,300,1] 

Notice that a_{2} = 3000 > 1000.

Solution (in JAVA):

Solution:
import java.util.*;
import java.io.*;
import java.lang.*;

public class A {
    public static void main(String[] args) throws Exception {
        try {

            InputStreamReader isr = new InputStreamReader(System.in);
            BufferedReader br = new BufferedReader(isr);

            int t = getInt(br.readLine());
            while (t-->0){
                long n = getLong(br.readLine());

                for (int i = 0; i <n ; i++) {
                    System.out.print(2 + " ");
                }
                System.out.println();

            }

        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    private static void getArray(BufferedReader br, int arr[], int n, String split) throws IOException {
        String str[] = br.readLine().split(split);
        for (int i = 0; i < n; i++) {
            arr[i] = Integer.parseInt(str[i]);
        }
    }

    private static void getArray(BufferedReader br, long arr[], int n, String split) throws IOException {
        String str[] = br.readLine().split(split);
        for (int i = 0; i < n; i++) {
            arr[i] = Long.parseLong(str[i]);
        }
    }

    private static void getArray(BufferedReader br, double arr[], int n, String split) throws IOException {
        String str[] = br.readLine().split(split);
        for (int i = 0; i < n; i++) {
            arr[i] = Double.parseDouble(str[i]);
        }
    }

    private static int getInt(String str) {
        return Integer.parseInt(str);
    }

    private static long getLong(String str) {
        return Long.parseLong(str);
    }

    private static double getDouble(String str) {
        return Double.parseDouble(str);
    }

    private static long gcd(long a, long b) {
        if (b == 0)
            return a;
        return gcd(b, a % b);
    }

    private static long lcm(long a, long b) {
        return (a * b) / gcd(a, b);
    }

    private static ArrayList<Long> allfactorsofn(long n) {
        ArrayList<Long> a = new ArrayList<>();
        ArrayList<Long> b = new ArrayList<>();
        for (long i = 1; i <= Math.sqrt(n); i++) {
            if (n % i == 0) {
                if (n / i == i)
                    a.add(i);

                else {
                    a.add(i);
                    b.add(n / i);
                }
            }
        }

        for (int i = b.size() - 1; i >= 0; i--) {
            a.add(b.get(i));
        }

        return a;
    }

    public static int maxGCD(int arr[], int n) {
        int h = 0;
        for (int i = 0; i < n; i++)
            h = Math.max(h, arr[i]);

        int count[] = new int[h + 1];
        for (int i = 0; i < n; i++)
            count[arr[i]]++;

        int cnt = 0;

        for (int i = h; i >= 1; i--) {
            int j = i;

            while (j <= h) {
                if (count[j] > 0)
                    cnt += count[j];

                j += i;

                if (cnt == 2)
                    return i;
            }
            cnt = 0;
        }
        return 1;
    }

    private static void printArr(long arr[]) {
        for (long l : arr) {
            System.out.print(l + " ");
        }
        System.out.println();
    }

    private static void printMatrix(int arr[][]){
        for(int i[] : arr){
            for (int j : i){
                System.out.print(j + " " );
            }
            System.out.println();
        }
    }

    private static boolean isPowerOfTwo(long x) {

        return x != 0 && ((x & (x - 1)) == 0);

    }

}