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

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

});