"use strict"
let input=require('fs').readFileSync('/dev/stdin','utf8');
let arr=input.split(' ');
let r=parseFloat(arr[0]);
let pi=Math.PI;
let c=2*pi*r;
let a=pi*r*r;
console.log(a.toFixed(8)+' '+c.toFixed(8));

