#include<bits/stdc++.h> using namespace std; #define int long long #define endl '\n' signed main(){ std::ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); int n; cin>>n; double f=(double)sqrt(n); cout<<floor(f)<<endl; return 0; }