var std = process.stdin;
std.resume();
std.setEncoding('utf8');
std.on('data', function (chunk) {
    var r = chunk.replace(/\n/, '');
    console.log((r * r * Math.PI).toFixed(6) + " " + 
                (2 * r * Math.PI).toFixed(6));
});