#include #include #include #include #include #include #include #define pb push_back #define all(x) begin(x),end(x) #define gall(x) begin(x),end(x),greater<>() #define ll long long #define P pair #define lP pair #include #include using namespace std; int main() { ll t,n; cin>>t; for(int i=0;i> n; ll a; a=sqrt(n); cout<