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.io.*;
import java.util.*;
import java.math.*;
 
public class Main{ 
   static class Fast{
     public BufferedReader br;
     public StringTokenizer st;
     
     public Fast(){
          br =new BufferedReader(new InputStreamReader(System.in));
     }
     
     String next(){
          while(st==null || !st.hasMoreTokens()){
               try{
                    st=new StringTokenizer(br.readLine());
               }
               catch(IOException e){
                    throw new RuntimeException(e);
               }
               
          }
               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; 
        } 
 
   }  
   
    static  Fast f=new Fast();
    static PrintWriter out = new PrintWriter(System.out);


    static void readArray(int a[]) 
      {
        
        for (int i=0;i<a.length;i++ ) a[i]=f.nextInt();
        
      }

  
     static void sort(int[] a) {
    ArrayList<Integer> list=new ArrayList<>();
    for (int i:a) list.add(i);
    Collections.sort(list);
    for (int i=0; i<a.length; i++) a[i]=list.get(i);
   } 

   static int lower_bound(int a[],int key){
       int left=0;
       int right=a.length-1;
       int mid=0;
       while(left<=right){
        mid=left+(right-left)/2;
        if (a[mid]==key) {
          return mid;
        }
        else if (a[mid]<key) left=mid+1;
        else right=mid-1;
       }
       if (right==-1) {
         right=0;
       }
       return right;
   }

   
  static int gcd(int a,int b){
          while(a*b!=0){
               if(a>b) a %= b;
               else  b %= a;
          }
          return a+b;   
     } 
  public static void main(String[] args)throws Exception{
  //StringTokenizer st;//! @ % & * () _ {} # ~ : < > ? "" | ^  
         
 
      //StringBuilder res = new StringBuilder();

     int t = f.nextInt();

     while(t-->0){

         int n = f.nextInt();

         int count = 0;
         int ans[] = new int[n];
         if(n>0) {ans[n-1]=4*n;count++;}

         for (int i = 4*n-2; i>2 && count <n; i-=2 ) {
          boolean flag = true;
           for(int j = n-1;j>n-1-count;j--){
            if(ans[j]%i!=0 && gcd(i,ans[j])>1) continue;
            flag =false;
            break;
           }
           if(flag) {ans[n-1-count]=i;count++;}
         }

        for (int i=0;i<n; i++ ) {
          out.print(ans[i]+" ");
        }
        //out.println("\n"+count);

        out.println();



     }



    out.close();
  }
}