#include<stdio.h>
#include<math.h>
int main()
{
int a;
scanf_s("%d", &a);
int d = sqrt(a);
printf("%d", d);
}