program ggvfgg;
var
x, y: real;
bool: boolean;
begin
readln(x);
if x <= 0 then
y := 0 end ;
if x < 1 then
y := x end ;
if x > 1 then
y := sqr(x) ;
end;
writeln(y: 3: 0);
end.
program ggvfgg;
var
x, y: real;
bool: boolean;
begin
readln(x);
begin
if x <= 0 then
y := 0 end ;
begin
if x < 1 then
y := x end ;
begin
if x > 1 then
y := sqr(x) ;
end;
writeln(y: 3: 0);
end.