#include #include using namespace std; int main() { int t,n; cin>>t; while(t>0) { cin>>n; int root; root=sqrt(n); cout<