process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', function (chunk)
{
var line = chunk.split;
var x = Number(line[0]);
 x * x * Math.PI.toFixed(6);
 2 * x * Math.PI.toFixed(6);

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

});