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 CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
template <typename T>
T modpow(T base, T exp, T modulus) {
  base %= modulus;
  T result = 1;
  while (exp > 0) {
    if (exp & 1) result = (result * base) % modulus;
    base = (base * base) % modulus;
    exp >>= 1;
  }
  return result;
}
vector<bool> primes(401, 1);
void solve(int test_case) {
  int n;
  cin >> n;
  int nn = n;
  int upto = 4 * n;
  vector<int> ans;
  int st = 2;
  while ((int)ans.size() < nn) {
    ans = vector<int>();
    st += 2;
    n = nn;
    for (int i = st; i <= upto && n > 0; i += 2) {
      n--;
      bool req = 1;
      for (int j : ans)
        if (i % j == 0) {
          req = 0;
          break;
        }
      if (req) ans.push_back(i);
    }
  }
  for (int i : ans) cout << i << " ";
  cout << endl;
}
void prefill() {
  for (int i = 2; i <= 400; i++) {
    if (primes[i])
      for (int j = i + i; j <= 400; j += i) primes[j] = 0;
  }
  int cnt = 0;
  for (int i = 4; i <= 400; i++) {
    if (!primes[i]) {
      cnt++;
      for (int j = i + i; j <= 400; j += i) primes[j] = 1;
    }
  }
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  int t = 1;
  cin >> t;
  for (int i = 1; i <= t; i++) {
    solve(i);
  }
  return 0;
}