'use strict';
(function(stdin) {
  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));
}(require('fs').readFileSync('/dev/stdin', 'utf8')));