import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
        double r = scan.nextDouble();
		
		double x = r * r * Math.PI;
		double y = r * 2 * Math.PI;
		
		
		BigDecimal X = new BigDecimal(x);
		BigDecimal z = X.setScale(5, BigDecimal.ROUND_HALF_UP);
		BigDecimal Y = new BigDecimal(y);
		BigDecimal z2 = Y.setScale(5, BigDecimal.ROUND_HALF_UP);
		System.out.printf("%.5f",z);
		System.out.print(" ");
		System.out.printf("%.5f",z2);
	}

} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
        double r = scan.nextDouble();
		
		double x = r * r * Math.PI;
		double y = r * 2 * Math.PI;
		
		
		BigDecimal X = new BigDecimal(x);
		BigDecimal z = X.setScale(5, BigDecimal.ROUND_HALF_UP);
		BigDecimal Y = new BigDecimal(y);
		BigDecimal z2 = Y.setScale(5, BigDecimal.ROUND_HALF_UP);
		System.out.printf("%.5f",z);
		System.out.print(" ");
		System.out.printf("%.5f",z2);
	}

} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
        double r = scan.nextDouble();
		
		double x = r * r * Math.PI;
		double y = r * 2 * Math.PI;
		
		
		BigDecimal X = new BigDecimal(x);
		BigDecimal z = X.setScale(5, BigDecimal.ROUND_HALF_UP);
		BigDecimal Y = new BigDecimal(y);
		BigDecimal z2 = Y.setScale(5, BigDecimal.ROUND_HALF_UP);
		System.out.printf("%.5f",z);
		System.out.print(" ");
		System.out.printf("%.5f",z2);
	} main {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
        double r = scan.nextDouble();
		
		double x = r * r * Math.PI;
		double y = r * 2 * Math.PI;
		
		
		BigDecimal X = new BigDecimal(x);
		BigDecimal z = X.setScale(5, BigDecimal.ROUND_HALF_UP);
		BigDecimal Y = new BigDecimal(y);
		BigDecimal z2 = Y.setScale(5, BigDecimal.ROUND_HALF_UP);
		System.out.printf("%.5f",z);
		System.out.print(" ");
		System.out.printf("%.5f",z2);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double x = r * r * Math.PI; x r * r * Math.PI r * r * Math.PI r r Math.PI Math Math.PI double y = r * 2 * Math.PI; y r * 2 * Math.PI r * 2 * Math.PI r 2 Math.PI Math Math.PI BigDecimal X = new BigDecimal(x); X new BigDecimal(x) BigDecimal z = X.setScale(5, BigDecimal.ROUND_HALF_UP); z X.setScale(5, BigDecimal.ROUND_HALF_UP) X.setScale X 5 BigDecimal.ROUND_HALF_UP BigDecimal BigDecimal.ROUND_HALF_UP BigDecimal Y = new BigDecimal(y); Y new BigDecimal(y) BigDecimal z2 = Y.setScale(5, BigDecimal.ROUND_HALF_UP); z2 Y.setScale(5, BigDecimal.ROUND_HALF_UP) Y.setScale Y 5 BigDecimal.ROUND_HALF_UP BigDecimal BigDecimal.ROUND_HALF_UP System.out.printf("%.5f",z) System.out.printf System.out System System.out "%.5f" z System.out.print(" ") System.out.print System.out System System.out " " System.out.printf("%.5f",z2) System.out.printf System.out System System.out "%.5f" z2 String[] args args public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
        double r = scan.nextDouble();
		
		double x = r * r * Math.PI;
		double y = r * 2 * Math.PI;
		
		
		BigDecimal X = new BigDecimal(x);
		BigDecimal z = X.setScale(5, BigDecimal.ROUND_HALF_UP);
		BigDecimal Y = new BigDecimal(y);
		BigDecimal z2 = Y.setScale(5, BigDecimal.ROUND_HALF_UP);
		System.out.printf("%.5f",z);
		System.out.print(" ");
		System.out.printf("%.5f",z2);
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
        double r = scan.nextDouble();
		
		double x = r * r * Math.PI;
		double y = r * 2 * Math.PI;
		
		
		BigDecimal X = new BigDecimal(x);
		BigDecimal z = X.setScale(5, BigDecimal.ROUND_HALF_UP);
		BigDecimal Y = new BigDecimal(y);
		BigDecimal z2 = Y.setScale(5, BigDecimal.ROUND_HALF_UP);
		System.out.printf("%.5f",z);
		System.out.print(" ");
		System.out.printf("%.5f",z2);
	}

} Main
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
        double r = scan.nextDouble();
		
		double x = r * r * Math.PI;
		double y = r * 2 * Math.PI;
		
		
		BigDecimal X = new BigDecimal(x);
		BigDecimal z = X.setScale(5, BigDecimal.ROUND_HALF_UP);
		BigDecimal Y = new BigDecimal(y);
		BigDecimal z2 = Y.setScale(5, BigDecimal.ROUND_HALF_UP);
		System.out.printf("%.5f",z);
		System.out.print(" ");
		System.out.printf("%.5f",z2);
	}

}