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