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