function main(input){
    let radius = parseFloat(input);
    let area = radius*radius*Math.PI;
    let around = 2*radius*Math.PI;
    console.log(digit(area)+" "+digit(around));
    
}

function digit(num){
    if(num.toString().indexOf("e-")!==-1){
        let digit = num.toString().split("e-")[1];
        num = num.toFixed(parseInt(digit));
    }
    return num;

}


main(require("fs").readFileSync("/dev/stdin","utf-8"));
