#include #include #include #include #include #include #include #define all(x) x.begin(),x.end() #define gall(x) x.begin(),x.end(),greater<>() #define pb push_back #define ll long long #define P pair #define LP pair using namespace std; int main() { int t; cin >> t; for (int i = 1; i < t; i++) { int n; cin >> n; cout << sqrtl(n) << endl; } return 0; }