let input = require('fs').readFileSync( '/dev/stdin', 'utf8' );
let arr = input.split(" ").map(Number);
let r = arr[0];
console.log("%d %d", (r * r * Math.PI).toFixed(5), (2 * r * Math.PI).toFixed(5));
