'use strict'

const main = arg => {
        
    const r = arg.trim().split("\n")[0];
    const area = (r * r * Math.PI).toFixed(6);
    const circumference = (r * 2 * Math.PI).toFixed(6);

    console.log(area + " " + circumference);
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
