var input=require("fs").readFileSync("/dev/stdin","utf8");

input=input.split("\n");
var r=(input[0]);
var o=3.141592653589;
var S=r*r*o*1000000;
var R=r*2*o*1000000;
S=Math.round(S);
R=Math.round(R);
console.log(S/1000000+" "+R/1000000);
