Problem: Today the kindergarten has a new group of n kids who need to be seated at the dinner table. The chairs at the table are numbered from 1 to 4n. Two kids can't sit on the same chair. It is known that two kids who sit on chairs with numbers a and b (a ≠ b) will indulge if: 

  1. gcd(a, b) = 1 or, 
  2. a divides b or b divides a. 



gcd(a, b) — the maximum number x such that a is divisible by x and b is divisible by x.

For example, if n=3 and the kids sit on chairs with numbers 2, 3, 4, then they will indulge since 4 is divided by 2 and gcd(2, 3) = 1. If kids sit on chairs with numbers 4, 6, 10, then they will not indulge.

The teacher really doesn't want the mess at the table, so she wants to seat the kids so there are no 2 of the kid that can indulge. More formally, she wants no pair of chairs a and b that the kids occupy to fulfill the condition above.

Since the teacher is very busy with the entertainment of the kids, she asked you to solve this problem.

Input

The first line contains one integer t (1 ≤ t ≤ 100) — the number of test cases. Then t test cases follow.

Each test case consists of one line containing an integer n (1 ≤ n ≤ 100) — the number of kids.

Output

Output t lines, which contain n distinct integers from 1 to 4n — the numbers of chairs that the kids should occupy in the corresponding test case. If there are multiple answers, print any of them. You can print n numbers in any order.

Example

Input


3
2
3
4


Output


6 4
4 6 10
14 10 12 8

Solution (in JAVA):

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

public class Codeforces2{


	 public static void main (String[] args) 
    {
 
            FastReader scan = new FastReader();
            PrintWriter out = new PrintWriter(System.out);
            Task solver = new Task();
            int testcase = scan.nextInt();
          
            for(int tt = 1; tt <= testcase ; tt++) solver.solve(tt, scan, out);
            out.close();
        
        
 
    }
// main code in task 
      static class Task {
     
            public void solve(int testNumber, FastReader sc, PrintWriter out) {

        
             int n=sc.nextInt();
            
             int timeOfExecute = n ;

            // int a = 4;

             Set<Integer> set = new HashSet<Integer>();

           set.add(n*4);
            int a = n*4-2;

          loop: for(int i=4*n;i >= 1 ; i--)
             {

                if(timeOfExecute == 1) break loop;
                 
                
               if(a%2 == 0 ){
                    
                   // if(set.add(a))
                   boolean res =  set.add(a);
                   if(res == true) timeOfExecute--;

               }

                a-=1;
              

             }
                

               Iterator<Integer> itr = set.iterator();

               while(itr.hasNext()){

                out.print(itr.next()+" ");

               }
           

               out.println();

           set.clear();

           

        }
 
    }
        
 
 static class FastReader {
            BufferedReader br;
            StringTokenizer st;
     
            public FastReader() {
                br = new BufferedReader(new InputStreamReader(System.in));
            }
     
            public FastReader(String s) throws FileNotFoundException {
                br = new BufferedReader(new FileReader(new File(s)));
            }
     
            String next() {
                while (st == null || !st.hasMoreElements()) {
                    try {
                        st = new StringTokenizer(br.readLine());
                    } catch (IOException e) {
                        e.printStackTrace();
                    }
                }
                return st.nextToken();
            }
     
            int nextInt() {
                return Integer.parseInt(next());
            }
     
            long nextLong() {
                return Long.parseLong(next());
            }
     
            double nextDouble() {
                return Double.parseDouble(next());
            }
     
            String nextLine() {
                String str = "";
                try {
                    str = br.readLine();
                } catch (IOException e) {
                    e.printStackTrace();
                }
                return str;
            }
            
       

 
 
        }


        private static int countNumberOfGoodSeq(int[] arr,int n ){


        if(arr.length == 1) return 1 ;
        else{

            int counter = 1;

        for(int i = 1;i < n ; i++){


            if(arr[i]!=arr[i-1]) counter++;


        }

        return counter;

    }
  }


        // public static boolean isPos(int n){

        //     if(n > 0 ) return true;
        //     else return false;


        // }

        // public  static int findMax(ArrayList<Integer> list ){

        //     int max = list.get(0);

        //     Iterator<Integer> itr= list.iterator();

        //     while(itr.hasNext()){


        //         int temp = itr.next();


        //         if(temp > max){
        //             max = temp;
        //         }


        //     }

        //     return max;

        // }

        // public  static long sum(ArrayList<Integer> list ){

        //        long max = 0 ;

        //     Iterator<Integer> itr= list.iterator();

        //     while(itr.hasNext()){


        //         int temp = itr.next();

        //         Long l = new Long(temp);

        //         max+=l;

                
        //     }

        //     return max;



        // }

 
 
 }