
function Main(input){
	input=input.trim().split("\n");
	let r = parseFloat(input);
	let pi = Math.PI;
	console.log("%d %d", (pi * r * r).toFixed(6), (2 * pi * r).toFixed(6));
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));

