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

console.log( x * x * Math.PI.toFixed(6),2 * x * Math.PI.toFixed(6));

});