process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data',function(chunk){

var arr = chunk.toString().split();
var r = arr[0];


var Circle = 2*r*Math.PI
var area???= r*r*Math.PI

console.log(Circle.toFixed( 6 ) + ' '+area.toFixed( 6 )???);

});