
process.stdin.resume();
process.stdin.setEncoding('utf8');

process.stdin.on('data', function (chunk) {
    const n = chunk.toString();
    const r = n*n*Math.PI;
    const b = 2*n*Math.PI;
    console.log(`${r} ${b}`);
});
