
(*
  Croatian Open Competition in Informatics 2006/2007
  Contest 1 - Task HERMAN
  Programming language Pascal
*)

program herman;

var r : double;

begin
   read(r);

   writeln( (r*r*pi):0:6 );
   writeln( (r*r*2):0:6 );
end.
