program easy; var x , y : real; begin readln(y); if(y >= 0) then x := sqr(y)-sqrt(y) else x := 3/y+y; writeln('x= ',x); end.