#include <iostream>
#include <cmath>
using namespace std;
int main()
{
    int n;
    cin>>n;
    n=(int)sqrt(n);
    cout<<n<<endl;
    return 0;
}