import java.util.*;

public class Main{

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

} import java.util.*; util.* java public class Main{

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

} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		double r = scanner.nextDouble();
		System.out.printf("%.6f %.6f",r*r*Math.PI , 2*r*Math.PI);
		scanner.close();
	} main {
		Scanner scanner = new Scanner(System.in);
		double r = scanner.nextDouble();
		System.out.printf("%.6f %.6f",r*r*Math.PI , 2*r*Math.PI);
		scanner.close();
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) double r = scanner.nextDouble(); r scanner.nextDouble() scanner.nextDouble scanner System.out.printf("%.6f %.6f",r*r*Math.PI , 2*r*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 2*r*Math.PI 2*r*Math.PI 2 r Math.PI Math Math.PI scanner.close() scanner.close scanner String[] args args public class Main{

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

} public class Main{

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

} Main
import java.util.*;

public class Main{

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

}