import java.util.Scanner;

public class Main {

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

		if (0 < r && r < 10000) {
			double res1 = r * r * PI;
			double res2 = 2 * r * PI;

			System.out.printf("%.6f",res1);
			System.out.print(" ");
			System.out.printf("%.6f",res2);
		}

	}

} 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 PI = Math.PI;
		scan.close();

		if (0 < r && r < 10000) {
			double res1 = r * r * PI;
			double res2 = 2 * r * PI;

			System.out.printf("%.6f",res1);
			System.out.print(" ");
			System.out.printf("%.6f",res2);
		}

	}

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

		if (0 < r && r < 10000) {
			double res1 = r * r * PI;
			double res2 = 2 * r * PI;

			System.out.printf("%.6f",res1);
			System.out.print(" ");
			System.out.printf("%.6f",res2);
		}

	} main {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double PI = Math.PI;
		scan.close();

		if (0 < r && r < 10000) {
			double res1 = r * r * PI;
			double res2 = 2 * r * PI;

			System.out.printf("%.6f",res1);
			System.out.print(" ");
			System.out.printf("%.6f",res2);
		}

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double PI = Math.PI; PI Math.PI Math Math.PI scan.close() scan.close scan if (0 < r && r < 10000) {
			double res1 = r * r * PI;
			double res2 = 2 * r * PI;

			System.out.printf("%.6f",res1);
			System.out.print(" ");
			System.out.printf("%.6f",res2);
		} 0 < r && r < 10000 0 < r 0 r r < 10000 r 10000 {
			double res1 = r * r * PI;
			double res2 = 2 * r * PI;

			System.out.printf("%.6f",res1);
			System.out.print(" ");
			System.out.printf("%.6f",res2);
		} double res1 = r * r * PI; res1 r * r * PI r * r * PI r r PI double res2 = 2 * r * PI; res2 2 * r * PI 2 * r * PI 2 r PI System.out.printf("%.6f",res1) System.out.printf System.out System System.out "%.6f" res1 System.out.print(" ") System.out.print System.out System System.out " " System.out.printf("%.6f",res2) System.out.printf System.out System System.out "%.6f" res2 String[] args args public class Main {

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

		if (0 < r && r < 10000) {
			double res1 = r * r * PI;
			double res2 = 2 * r * PI;

			System.out.printf("%.6f",res1);
			System.out.print(" ");
			System.out.printf("%.6f",res2);
		}

	}

} public class Main {

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

		if (0 < r && r < 10000) {
			double res1 = r * r * PI;
			double res2 = 2 * r * PI;

			System.out.printf("%.6f",res1);
			System.out.print(" ");
			System.out.printf("%.6f",res2);
		}

	}

} 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 PI = Math.PI;
		scan.close();

		if (0 < r && r < 10000) {
			double res1 = r * r * PI;
			double res2 = 2 * r * PI;

			System.out.printf("%.6f",res1);
			System.out.print(" ");
			System.out.printf("%.6f",res2);
		}

	}

}