program sad;

var
  p: integer;

begin
  p := 0;
  repeat
    p := p + 1;
  until p * p > 50000;
  writeln(p - 1);
end.