process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', function (inputs)
{
var inputs  = stdin.toString();
  var r = Number(inputs);
  //r= Number(r);
  var cicrlearea= r*r*Math.PI
  var cicr= 2*r*Math.PI
   
 
  console.log(cicrlearea.toFixed(5),cicr.toFixed(5));

});