'use strict';
(function(stdin) {
  var inputs  = stdin.toString();
  var r = parseFloat(inputs);
  var circlearea = Math.pow(r,2) * Math.PI ;
  var circumference = 2 * Math.PI * r;

  console.log(
    Number(circlearea.toFixed(5))
    ,Number(circumference.toFixed(5))
  );

}(require('fs').readFileSync('/dev/stdin', 'utf8')));