process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', function (chunk)
{
var x = chunk;
 x = Number(x);
var Circle =  x * x * Math.PI;
var area???=2 * x * Math.PI;

console.log(Circle .toFixed(6) + " " + area.toFixed(6));

});