import java.util.*;

public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);

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

		double r = sc.nextDouble();
		
		double area = r * r * Math.PI;
		double circle = (r + r) * Math.PI;
		
		System.out.printf("%.8f %.8f", area, circle);
	}
} Main public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		
		double area = r * r * Math.PI;
		double circle = (r + r) * Math.PI;
		
		System.out.printf("%.8f %.8f", area, circle);
	} main {
		
		Scanner sc = new Scanner(System.in);

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

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

		double r = sc.nextDouble();
		
		double area = r * r * Math.PI;
		double circle = (r + r) * Math.PI;
		
		System.out.printf("%.8f %.8f", area, circle);
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);

		double r = sc.nextDouble();
		
		double area = r * r * Math.PI;
		double circle = (r + r) * Math.PI;
		
		System.out.printf("%.8f %.8f", area, circle);
	}
}