$C=<>;<>=~/ /;print$C*(atan2(1,0)*($`-$'))**2*($`+$')