import java.util.Scanner;

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

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

		System.out.printf(String.format("%.6f %.6f",area, length));
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

		System.out.printf(String.format("%.6f %.6f",area, length));
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

		System.out.printf(String.format("%.6f %.6f",area, length));
	} main {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

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

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

		System.out.printf(String.format("%.6f %.6f",area, length));
	}

} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

		System.out.printf(String.format("%.6f %.6f",area, length));
	}

} Main
import java.util.Scanner;

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

		double area = r * r * Math.PI;
		double length = 2 * r * Math.PI;

		System.out.printf(String.format("%.6f %.6f",area, length));
	}

}