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

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		BigDecimal a = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal rate = BigDecimal.valueOf(Math.PI);
		
		BigDecimal beforeArea = a.multiply(a).multiply(rate);
		BigDecimal beforeLength = a.multiply(BigDecimal.valueOf(2.0)).multiply(rate);
		
		String afterArea = String.format("%.6f",beforeArea);
		String afterLength = String.format("%.6f",beforeLength);
		
		System.out.println(afterArea + " " + afterLength);
	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		BigDecimal a = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal rate = BigDecimal.valueOf(Math.PI);
		
		BigDecimal beforeArea = a.multiply(a).multiply(rate);
		BigDecimal beforeLength = a.multiply(BigDecimal.valueOf(2.0)).multiply(rate);
		
		String afterArea = String.format("%.6f",beforeArea);
		String afterLength = String.format("%.6f",beforeLength);
		
		System.out.println(afterArea + " " + afterLength);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		BigDecimal a = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal rate = BigDecimal.valueOf(Math.PI);
		
		BigDecimal beforeArea = a.multiply(a).multiply(rate);
		BigDecimal beforeLength = a.multiply(BigDecimal.valueOf(2.0)).multiply(rate);
		
		String afterArea = String.format("%.6f",beforeArea);
		String afterLength = String.format("%.6f",beforeLength);
		
		System.out.println(afterArea + " " + afterLength);
	} main {
		Scanner sc = new Scanner(System.in);
		
		BigDecimal a = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal rate = BigDecimal.valueOf(Math.PI);
		
		BigDecimal beforeArea = a.multiply(a).multiply(rate);
		BigDecimal beforeLength = a.multiply(BigDecimal.valueOf(2.0)).multiply(rate);
		
		String afterArea = String.format("%.6f",beforeArea);
		String afterLength = String.format("%.6f",beforeLength);
		
		System.out.println(afterArea + " " + afterLength);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) BigDecimal a = BigDecimal.valueOf(sc.nextDouble()); a BigDecimal.valueOf(sc.nextDouble()) BigDecimal.valueOf BigDecimal sc.nextDouble() sc.nextDouble sc BigDecimal rate = BigDecimal.valueOf(Math.PI); rate BigDecimal.valueOf(Math.PI) BigDecimal.valueOf BigDecimal Math.PI Math Math.PI BigDecimal beforeArea = a.multiply(a).multiply(rate); beforeArea a.multiply(a).multiply(rate) a.multiply(a).multiply a.multiply(a) a.multiply a a rate BigDecimal beforeLength = a.multiply(BigDecimal.valueOf(2.0)).multiply(rate); beforeLength a.multiply(BigDecimal.valueOf(2.0)).multiply(rate) a.multiply(BigDecimal.valueOf(2.0)).multiply a.multiply(BigDecimal.valueOf(2.0)) a.multiply a BigDecimal.valueOf(2.0) BigDecimal.valueOf BigDecimal 2.0 rate String afterArea = String.format("%.6f",beforeArea); afterArea String.format("%.6f",beforeArea) String.format String "%.6f" beforeArea String afterLength = String.format("%.6f",beforeLength); afterLength String.format("%.6f",beforeLength) String.format String "%.6f" beforeLength System.out.println(afterArea + " " + afterLength) System.out.println System.out System System.out afterArea + " " + afterLength afterArea + " " + afterLength afterArea " " afterLength String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		BigDecimal a = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal rate = BigDecimal.valueOf(Math.PI);
		
		BigDecimal beforeArea = a.multiply(a).multiply(rate);
		BigDecimal beforeLength = a.multiply(BigDecimal.valueOf(2.0)).multiply(rate);
		
		String afterArea = String.format("%.6f",beforeArea);
		String afterLength = String.format("%.6f",beforeLength);
		
		System.out.println(afterArea + " " + afterLength);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		BigDecimal a = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal rate = BigDecimal.valueOf(Math.PI);
		
		BigDecimal beforeArea = a.multiply(a).multiply(rate);
		BigDecimal beforeLength = a.multiply(BigDecimal.valueOf(2.0)).multiply(rate);
		
		String afterArea = String.format("%.6f",beforeArea);
		String afterLength = String.format("%.6f",beforeLength);
		
		System.out.println(afterArea + " " + afterLength);
	}

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

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		BigDecimal a = BigDecimal.valueOf(sc.nextDouble());
		BigDecimal rate = BigDecimal.valueOf(Math.PI);
		
		BigDecimal beforeArea = a.multiply(a).multiply(rate);
		BigDecimal beforeLength = a.multiply(BigDecimal.valueOf(2.0)).multiply(rate);
		
		String afterArea = String.format("%.6f",beforeArea);
		String afterLength = String.format("%.6f",beforeLength);
		
		System.out.println(afterArea + " " + afterLength);
	}

}