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

    return 0;
}