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