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

console.log(circle,area);

});