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

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

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

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

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

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

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

}