import java.util.*;

public class Main{
	private static final Scanner scan = new Scanner(System.in);

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

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

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

	public static void main(String[] args){
		double r = scan.nextDouble();
		double area = r * r * Math.PI;
		double cir = 2 * r * Math.PI;
		System.out.printf("%f %f\n", area, cir);
	}
} Main
import java.util.*;

public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		double r = scan.nextDouble();
		double area = r * r * Math.PI;
		double cir = 2 * r * Math.PI;
		System.out.printf("%f %f\n", area, cir);
	}
}