#include<cstdio>
#include<cmath>
int main() {
  int a;
  scanf("%d",&a);
  printf("%d",(int)sqrt(a));
}