'use strict';
(function(stdin) {
  var i = stdin.toString().trim();
  (function(r) {
    var r = (i * i * Math.PI).toFixed(6);
    var g = (2 * Math.PI * i).toFixed(6);
    console.log(r,g);
  }(parseInt(i,10)
      )); 
}(require('fs').readFileSync('/dev/stdin', 'utf8')));