import java.util.Scanner;
import java.lang.Math;

class Main{
    public static void main(String[] args){
	final Scanner sc=new Scanner(System.in);
	Double r=sc.nextDouble();
	System.out.printf("%7f %7f\n",r*r*Math.PI,r*2.0*Math.PI);
    }
} import java.util.Scanner; Scanner java.util import java.lang.Math; Math java.lang class Main{
    public static void main(String[] args){
	final Scanner sc=new Scanner(System.in);
	Double r=sc.nextDouble();
	System.out.printf("%7f %7f\n",r*r*Math.PI,r*2.0*Math.PI);
    }
} Main public static void main(String[] args){
	final Scanner sc=new Scanner(System.in);
	Double r=sc.nextDouble();
	System.out.printf("%7f %7f\n",r*r*Math.PI,r*2.0*Math.PI);
    } main {
	final Scanner sc=new Scanner(System.in);
	Double r=sc.nextDouble();
	System.out.printf("%7f %7f\n",r*r*Math.PI,r*2.0*Math.PI);
    } final Scanner sc=new Scanner(System.in); sc new Scanner(System.in) Double r=sc.nextDouble(); r sc.nextDouble() sc.nextDouble sc System.out.printf("%7f %7f\n",r*r*Math.PI,r*2.0*Math.PI) System.out.printf System.out System System.out "%7f %7f\n" r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI r*2.0*Math.PI r*2.0*Math.PI r 2.0 Math.PI Math Math.PI String[] args args
import java.util.Scanner;
import java.lang.Math;

class Main{
    public static void main(String[] args){
	final Scanner sc=new Scanner(System.in);
	Double r=sc.nextDouble();
	System.out.printf("%7f %7f\n",r*r*Math.PI,r*2.0*Math.PI);
    }
}