include<stdio.h>

include<math.h>

main()
{int n,m;
scanf("%d",&n);
m=sqrt(n); //整形数据间的运算本身就包含向下取整
printf("%d",m);}