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

console.log(enn+ " " + area);

});