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

var line = chunk.toString();

var r = Number(line);

var cicrlearea= r*r*Math.PI
  var cicr= 2*r*Math.PI

console.log(cicrlearea.toFixed(5),cicr.toFixed(5));
});