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

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double sum = Math.PI * Math.pow(r, 2);
		double length = 2 * Math.PI * r;
		System.out.println(BigDecimal.valueOf(sum).toPlainString() + " " + BigDecimal.valueOf(length).toPlainString());
	}

} import java.math.BigDecimal; BigDecimal java.math 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 sum = Math.PI * Math.pow(r, 2);
		double length = 2 * Math.PI * r;
		System.out.println(BigDecimal.valueOf(sum).toPlainString() + " " + BigDecimal.valueOf(length).toPlainString());
	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double sum = Math.PI * Math.pow(r, 2);
		double length = 2 * Math.PI * r;
		System.out.println(BigDecimal.valueOf(sum).toPlainString() + " " + BigDecimal.valueOf(length).toPlainString());
	} main {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double sum = Math.PI * Math.pow(r, 2);
		double length = 2 * Math.PI * r;
		System.out.println(BigDecimal.valueOf(sum).toPlainString() + " " + BigDecimal.valueOf(length).toPlainString());
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double r = scan.nextDouble(); r scan.nextDouble() scan.nextDouble scan double sum = Math.PI * Math.pow(r, 2); sum Math.PI * Math.pow(r, 2) Math.PI Math Math.PI Math.pow(r, 2) Math.pow Math r 2 double length = 2 * Math.PI * r; length 2 * Math.PI * r 2 * Math.PI * r 2 Math.PI Math Math.PI r System.out.println(BigDecimal.valueOf(sum).toPlainString() + " " + BigDecimal.valueOf(length).toPlainString()) System.out.println System.out System System.out BigDecimal.valueOf(sum).toPlainString() + " " + BigDecimal.valueOf(length).toPlainString() BigDecimal.valueOf(sum).toPlainString() + " " + BigDecimal.valueOf(length).toPlainString() BigDecimal.valueOf(sum).toPlainString() BigDecimal.valueOf(sum).toPlainString BigDecimal.valueOf(sum) BigDecimal.valueOf BigDecimal sum " " BigDecimal.valueOf(length).toPlainString() BigDecimal.valueOf(length).toPlainString BigDecimal.valueOf(length) BigDecimal.valueOf BigDecimal length String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double sum = Math.PI * Math.pow(r, 2);
		double length = 2 * Math.PI * r;
		System.out.println(BigDecimal.valueOf(sum).toPlainString() + " " + BigDecimal.valueOf(length).toPlainString());
	}

} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double sum = Math.PI * Math.pow(r, 2);
		double length = 2 * Math.PI * r;
		System.out.println(BigDecimal.valueOf(sum).toPlainString() + " " + BigDecimal.valueOf(length).toPlainString());
	}

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

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		double r = scan.nextDouble();
		double sum = Math.PI * Math.pow(r, 2);
		double length = 2 * Math.PI * r;
		System.out.println(BigDecimal.valueOf(sum).toPlainString() + " " + BigDecimal.valueOf(length).toPlainString());
	}

}