#include <stdio.h>
#include<math.h>

int main() 
{
    long int n;
    scanf("%ld",&n);
   int s= sqrt(n);
    printf("%d",s);
    return 0;

}