var x = require('fs').readFileSync('/dev/stdin', 'utf8');
var arr = x.split(/\s/);
r = parseFloat(arr[0]);
area = (Math.PI*Math.pow(r,2)).toFixed(6);
circumference = (2*Math.PI*r).toFixed(6);
console.log(area +" "+ circumference);

