1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. #define sync {ios_base ::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);}
  5. #define rep(n) for(int i = 0;i<n;i++)
  6. #define rep1(a,b) for(int i = a;i<b;i++)
  7. #define int long long int
  8. #define mod 1000000007
  9.  
  10. int n;
  11.  
  12. void solve()
  13. {
  14. cin>>n;
  15.  
  16. for(int i = 2; i<=n+1; i++) cout<<i<<' ';
  17.  
  18. if(n%2){
  19. for(int i = n+3; i<=2*n+2; i++) cout<<i<<' ';
  20. }
  21. else{
  22. for(int i = n+2; i<=2*n+1; i++) cout<<i<<' ';
  23. }
  24.  
  25. }
  26.  
  27. int32_t main()
  28. {
  29.  
  30. #ifndef ONLINE_JUDGE
  31. freopen("input.txt","r",stdin);
  32. freopen("output.txt","w",stdout);
  33. #endif
  34. sync;
  35. int t = 1;
  36. cin>>t;
  37. while(t--){
  38. solve();
  39. cout<<"\n";
  40. }
  41. return 0;
  42. }