const main = (standardInput) => {
    const lengthList = standardInput.split(' ');
    const r = Number.parseFloat(lengthList[0]);
    const r1 = Math.round(Math.PI*(r*r)*1000000)/1000000;
    const r2 = Math.round(Math.PI*(r+r)*1000000)/1000000

    console.log(r1+ " "+ r2);
}

main(require('fs').readFileSync('/dev/stdin', 'UTF-8'));

