import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner k = new Scanner(System.in);
		double r = k.nextDouble();
		System.out.printf("%.10f %.10f\n",r*r*Math.PI,2*r*Math.PI);
		
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner k = new Scanner(System.in);
		double r = k.nextDouble();
		System.out.printf("%.10f %.10f\n",r*r*Math.PI,2*r*Math.PI);
		
	}

} Main public static void main(String[] args){
		Scanner k = new Scanner(System.in);
		double r = k.nextDouble();
		System.out.printf("%.10f %.10f\n",r*r*Math.PI,2*r*Math.PI);
		
	} main {
		Scanner k = new Scanner(System.in);
		double r = k.nextDouble();
		System.out.printf("%.10f %.10f\n",r*r*Math.PI,2*r*Math.PI);
		
	} Scanner k = new Scanner(System.in); k new Scanner(System.in) double r = k.nextDouble(); r k.nextDouble() k.nextDouble k System.out.printf("%.10f %.10f\n",r*r*Math.PI,2*r*Math.PI) System.out.printf System.out System System.out "%.10f %.10f\n" r*r*Math.PI r*r*Math.PI r r Math.PI Math Math.PI 2*r*Math.PI 2*r*Math.PI 2 r Math.PI Math Math.PI String[] args args public class Main {
	public static void main(String[] args){
		Scanner k = new Scanner(System.in);
		double r = k.nextDouble();
		System.out.printf("%.10f %.10f\n",r*r*Math.PI,2*r*Math.PI);
		
	}

} public class Main {
	public static void main(String[] args){
		Scanner k = new Scanner(System.in);
		double r = k.nextDouble();
		System.out.printf("%.10f %.10f\n",r*r*Math.PI,2*r*Math.PI);
		
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner k = new Scanner(System.in);
		double r = k.nextDouble();
		System.out.printf("%.10f %.10f\n",r*r*Math.PI,2*r*Math.PI);
		
	}

}