#define _GLIBCXX_DEBUG #define ll long long #include using namespace std; using Graph = vector>; int main(){ int T; cin >> T; for(int i = 0; i < T; i++){ long N; cin >> N; int n = (int)sqrt(N); cout << n << endl; } }