process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', function (chunk)
{
var x = chunk.split.map(Number);

 

console.log((r * r * Math.PI).toFixed(6) + " " + 
                (2 * r * Math.PI).toFixed(6));

});