const input = require('fs').readFileSync('/dev/stdin', 'utf8');
const r = Number(input);
const pi = 3.141;
const area = (Math.pow(r, 2) * Math.PI).toFixed(6);
const len = ((r*2) * Math.PI).toFixed(6);

console.log(area + ' ' + len);
