#include using namespace std; using ll=long long; int main(){ ll t; cin>>t; while(t--){ ll n; cin>>n; ll cnt=0; for(ll i=1;i