function main(input) {
    var r = Number(input);
    var areaOfCircle = (Math.PI * r * r);
    var circumference = (2 * Math.PI * r);
    output = [areaOfCircle.toFixed(6),circumference.toFixed(6)].join(' ');
    console.log(output);
}

process.stdin.resume();
var input = '';  
process.stdin.setEncoding('utf-8');
process.stdin.on('data', function(chunk) {
  input += chunk;
});
process.stdin.on('end', function() {
  main(input);
});