Ответ:

begin
//PascalABC.NET

 var x, y: real;

 Read(x);

 if x <= 0 then Print(0)

 else Print(x > 1 ? x * x : x)

end.