#include <bits/stdc++.h>
using namespace std;

const int N=(int)sqrt(1e9)+5;
int pri[N],n,tot,vis[N];
vector<int>v[N];
void solve()
{
    cin>>n;
    for(int j=1;j<=tot;j++)
    {

    }
    return;
}
void init()
{
    for(int i=2;i<N;i++)
    {
        if(!vis[i])
        {
            pri[++tot]=i;
            for(int j=i;j<N;j+=i)
                v[j].push_back(i),vis[j]=1;
        }
    }
    return;
}
int main()
{
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    cout.tie(nullptr);
    int T;
    cin>>T;
    init();
    while(T--)solve();    
    return 0;
}
