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