#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; cout<<floor(sqrt(a)); return 0; }