function Main(input) {
  input = input.split("\n");
  var n = parseInt(input[0]);
  var ans =Math.floor(Math.sqrt(i));
  console.log('%s', ans);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));