function Main(input){
  const r = Number(input);
  let S, L;
  S = (r * r * Math.PI).toFixed(6);
  L = (r * 2 * Math.PI).toFixed(6);
  console.log(S + " " + L);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
