import java.util.Scanner;

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

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