program prog;
var square:Extended;
begin
readln(square);
square := sqrt(2 * square);
writeln(square);
end.
program prog;
var square:Extended;
begin
readln(square);
square := sqrt(2 * square);
writeln(square);
end.