"use strict";

function Main(input) {
    input=input.replace("\n","");
    parseInt(input);
    console.log(input*input*Math.PI+" "+input*2*Math.PI);
}
    
function debug(){
	var input = document.getElementById("input").value;
	Main(input);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));