function main(input) {
  var r = Number(input);
  var area = r*r*Math.PI;
  var length = 2*r*Math.PI;
  console.log(area+' '+length);
}

var x = require('fs').readFileSync('/dev/stdin', 'utf-8');
main(x);
